1{ lib, fetchurl, buildPythonPackage, pbkdf2 }:
2
3buildPythonPackage 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}