1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

Merge pull request #6789 from joachifm/electrum-2.0.2

Electrum 2.0.2
This commit is contained in:
lethalman 2015-03-18 10:09:16 +01:00
commit 0453322524
2 changed files with 67 additions and 8 deletions

View file

@ -1,21 +1,27 @@
{ stdenv, fetchurl, buildPythonPackage, slowaes, ecdsa, pyqt4 }:
{ stdenv, fetchurl, buildPythonPackage, pythonPackages, slowaes }:
buildPythonPackage rec {
namePrefix = "";
name = "electrum-${version}";
version = "1.9.8";
version = "2.0.3";
src = fetchurl {
url = "https://download.electrum.org/Electrum-${version}.tar.gz";
sha256 = "8fc144a32013e4a747fea27fff981762a6b9e14cde9ffb405c4c721975d846ff";
sha256 = "1kzrbnkl5jps0kf0420vzpiqjk3v1jxvlrxwhc0f58xbqyc7l4mj";
};
buildInputs = [ slowaes ecdsa ];
propagatedBuildInputs = [
slowaes
propagatedBuildInputs = with pythonPackages; [
dns
ecdsa
pbkdf2
protobuf
pyasn1
pyasn1-modules
pyqt4
qrcode
requests
slowaes
tlslite
];
postPatch = ''
@ -28,6 +34,6 @@ buildPythonPackage rec {
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" ];
maintainers = [ "emery@vfemail.net" stdenv.lib.maintainers.joachifm ];
};
}

View file

@ -7936,6 +7936,25 @@ let
};
});
pyasn1-modules = buildPythonPackage rec {
name = "pyasn1-modules-${version}";
version = "0.0.5";
disabled = isPyPy;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pyasn1-modules/${name}.tar.gz";
sha256 = "0hcr6klrzmw4d9j9s5wrhqva5014735pg4zk3rppac4fs87g0rdy";
};
propagatedBuildInputs = with self; [ pyasn1 ];
meta = {
description = "A collection of ASN.1-based protocols modules";
homepage = https://pypi.python.org/pypi/pyasn1-modules;
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.unix; # same as pyasn1
};
};
pyaudio = pkgs.stdenv.mkDerivation rec {
name = "python-pyaudio-${version}";
@ -11113,6 +11132,40 @@ let
};
};
tlslite = buildPythonPackage rec {
name = "tlslite-${version}";
version = "0.4.8";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/t/tlslite/${name}.tar.gz";
sha256 = "1fxx6d3nw5r1hqna1h2jvqhcygn9fyshlm0gh3gp0b1ji824gd6r";
};
meta = {
description = "A pure Python implementation of SSL and TLS";
homepage = https://pypi.python.org/pypi/tlslite;
license = stdenv.lib.licenses.bsd3;
};
};
qrcode = buildPythonPackage rec {
name = "qrcode-${version}";
version = "5.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/q/qrcode/${name}.tar.gz";
sha256 = "0skzrvhjnnacrz52jml4i050vdx5lfcd3np172srxjaghdgfxg9k";
};
propagatedBuildInputs = with self; [ six ];
meta = {
description = "Quick Response code generation for Python";
home = "https://pypi.python.org/pypi/qrcode";
license = stdenv.lib.licenses.bsd3;
};
};
tmdb3 = buildPythonPackage rec {
name = "tmdb3-${version}";
version = "0.6.17";