summary refs log tree commit diff
path: root/pkgs/development/python-modules/mnemonic.nix
blob: 9f71fdb8e7417c739682adf4202a0aaa33e49806 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 ];
  };
}