1{ lib, fetchurl, buildPythonPackage, pbkdf2 }:
2
3buildPythonPackage rec {
4 pname = "mnemonic";
5 version = "0.18";
6 name = "${pname}-${version}";
7
8 src = fetchurl {
9 url = "mirror://pypi/m/${pname}/${name}.tar.gz";
10 sha256 = "02a7306a792370f4a0c106c2cf1ce5a0c84b9dbd7e71c6792fdb9ad88a727f1d";
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}