git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.mnemonic: 0.12 -> 0.17
commit9cc2083daca4e712f2e759afccd855894b8d1b53 authorJoachim Fasting <joachifm@fastmail.fm> dateSat 11 Mar 2017, 13:52 (10 years ago) parent10a0f1c
2 files changed+22−18
pkgs/development/python-modules/mnemonic.nix+21 pkgs/top-level/python-packages.nix+1−18
pkgs/development/python-modules/mnemonic.nixnew file+21
@@ -0,0 +1,21 @@
1+{ lib, fetchurl, buildPythonPackage, pbkdf2 }:
2+
3+buildPythonPackage rec {
4+ pname = "mnemonic";
5+ version = "0.17";
6+ name = "${pname}-${version}";
7+
8+ src = fetchurl {
9+ url = "mirror://pypi/m/${pname}/${name}.tar.gz";
10+ sha256 = "1hq6xb47jagfqf65iwcrh0065mj3521d2mxmahg7vfraihqyqdjn";
11+ };
12+
13+ propagatedBuildInputs = [ pbkdf2 ];
14+
15+ meta = {
16+ description = "Implementation of Bitcoin BIP-0039";
17+ homepage = https://github.com/trezor/python-mnemonic;
18+ license = lib.licenses.mit;
19+ maintainers = with lib.maintainers; [ np ];
20+ };
21+}
pkgs/top-level/python-packages.nix+1−18
@@ -30780,24 +30780,7 @@ EOF
3078030780 };
3078130781 };
3078230782
30783− mnemonic = buildPythonPackage rec{
30784− version = "0.12";
30785− name = "mnemonic-${version}";
30786−
30787− src = pkgs.fetchurl {
30788− url = "mirror://pypi/m/mnemonic/${name}.tar.gz";
30789− sha256 = "0j5jm4v54135qqw455fw4ix2mhxhzjqvxji9gqkpxagk31cvbnj4";
30790− };
30791−
30792− propagatedBuildInputs = with self; [ pbkdf2 ];
30793−
30794− meta = {
30795− description = "Implementation of Bitcoin BIP-0039";
30796− homepage = https://github.com/trezor/python-mnemonic;
30797− license = licenses.mit;
30798− maintainers = with maintainers; [ np ];
30799− };
30800− };
30783+ mnemonic = callPackage ../development/python-modules/mnemonic.nix { };
3080130784
3080230785 trezor = callPackage ../development/python-modules/trezor.nix { };
3080330786