1{ lib, fetchPypi, buildPythonPackage, pbkdf2 }:
2
3buildPythonPackage rec {
4 pname = "mnemonic";
5 version = "0.19";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "4e37eb02b2cbd56a0079cabe58a6da93e60e3e4d6e757a586d9f23d96abea931";
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}