1{ lib, fetchPypi, buildPythonPackage, pbkdf2 }:
2
3buildPythonPackage rec {
4 pname = "mnemonic";
5 version = "0.18";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "02a7306a792370f4a0c106c2cf1ce5a0c84b9dbd7e71c6792fdb9ad88a727f1d";
10 };
11
12 propagatedBuildInputs = [ pbkdf2 ];
13
14 meta = {
15 description = "Implementation of Bitcoin BIP-0039";
16 homepage = https://github.com/trezor/python-mnemonic;
17 license = lib.licenses.mit;
18 maintainers = with lib.maintainers; [ np ];
19 };
20}