parent
ae8a8b5deb
commit
e91daf327d
@ -0,0 +1,32 @@ |
||||
{ stdenv, fetchurl, pythonPackages, slowaes, ecdsa, pyqt4 }: |
||||
|
||||
pythonPackages.buildPythonPackage rec { |
||||
name = "electrum-${version}"; |
||||
version = "1.9.8"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://download.electrum.org/Electrum-${version}.tar.gz"; |
||||
sha256 = "8fc144a32013e4a747fea27fff981762a6b9e14cde9ffb405c4c721975d846ff"; |
||||
}; |
||||
|
||||
buildInputs = [ slowaes ecdsa ]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
slowaes |
||||
ecdsa |
||||
pyqt4 |
||||
]; |
||||
|
||||
postPatch = '' |
||||
mkdir -p $out/share |
||||
sed -i 's@usr_share = .*@usr_share = os.getenv("out")+"/share"@' setup.py |
||||
''; |
||||
|
||||
meta = { |
||||
description = "Bitcoin thin-wallet"; |
||||
long-description = "Electrum is an easy to use Bitcoin client. It protects you from losing coins in a backup mistake or computer failure, because your wallet can be recovered from a secret phrase that you can write on paper or learn by heart. There is no waiting time when you start the client, because it does not download the Bitcoin blockchain."; |
||||
homepage = "https://electrum.org"; |
||||
license = stdenv.lib.licenses.gpl3; |
||||
maintainers = [ "emery@vfemail.net" ]; |
||||
}; |
||||
} |
@ -0,0 +1,18 @@ |
||||
{ stdenv, fetchurl, buildPythonPackage, openssl }: |
||||
|
||||
buildPythonPackage rec { |
||||
name = "ecdsa-0.11"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://pypi.python.org/packages/source/e/ecdsa/${name}.tar.gz"; |
||||
sha256 = "134mbq5xsvx54k9xm7zrizvh9imxmcz1w9mhyfr99p4i7wcnqfwf"; |
||||
}; |
||||
|
||||
buildInputs = [ openssl ]; |
||||
|
||||
meta = { |
||||
homepage = "http://github.com/warner/python-ecdsa"; |
||||
description = "pure-python ECDSA signature/verification"; |
||||
license = stdenv.lib.licenses.mit; |
||||
}; |
||||
} |
@ -0,0 +1,16 @@ |
||||
{ stdenv, fetchurl, buildPythonPackage }: |
||||
|
||||
buildPythonPackage rec { |
||||
name = "slowaes-0.1a1"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://pypi.python.org/packages/source/s/slowaes/${name}.tar.gz"; |
||||
sha256 = "83658ae54cc116b96f7fdb12fdd0efac3a4e8c7c7064e3fac3f4a881aa54bf09"; |
||||
}; |
||||
|
||||
meta = { |
||||
homepage = "http://code.google.com/p/slowaes/"; |
||||
description = "AES implemented in pure python"; |
||||
license = stdenv.lib.licenses.apache; |
||||
}; |
||||
} |
Loading…
Reference in new issue