pythonPackages.mnemonic: 0.12 -> 0.17

This commit is contained in:
Joachim Fasting 2017-03-11 13:52:18 +01:00
parent 10a0f1c2af
commit 9cc2083dac
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08
2 changed files with 22 additions and 18 deletions

View File

@ -0,0 +1,21 @@
{ lib, fetchurl, buildPythonPackage, pbkdf2 }:
buildPythonPackage rec {
pname = "mnemonic";
version = "0.17";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/m/${pname}/${name}.tar.gz";
sha256 = "1hq6xb47jagfqf65iwcrh0065mj3521d2mxmahg7vfraihqyqdjn";
};
propagatedBuildInputs = [ pbkdf2 ];
meta = {
description = "Implementation of Bitcoin BIP-0039";
homepage = https://github.com/trezor/python-mnemonic;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ np ];
};
}

View File

@ -30780,24 +30780,7 @@ EOF
};
};
mnemonic = buildPythonPackage rec{
version = "0.12";
name = "mnemonic-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/m/mnemonic/${name}.tar.gz";
sha256 = "0j5jm4v54135qqw455fw4ix2mhxhzjqvxji9gqkpxagk31cvbnj4";
};
propagatedBuildInputs = with self; [ pbkdf2 ];
meta = {
description = "Implementation of Bitcoin BIP-0039";
homepage = https://github.com/trezor/python-mnemonic;
license = licenses.mit;
maintainers = with maintainers; [ np ];
};
};
mnemonic = callPackage ../development/python-modules/mnemonic.nix { };
trezor = callPackage ../development/python-modules/trezor.nix { };