2018-06-23 14:27:58 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pbkdf2 }:
|
2017-05-31 22:01:05 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mnemonic";
|
2019-10-24 07:47:39 +01:00
|
|
|
version = "0.19";
|
2017-05-31 22:01:05 +01:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:39 +01:00
|
|
|
sha256 = "4e37eb02b2cbd56a0079cabe58a6da93e60e3e4d6e757a586d9f23d96abea931";
|
2017-05-31 22:01:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pbkdf2 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Implementation of Bitcoin BIP-0039";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/trezor/python-mnemonic";
|
2017-05-31 22:01:05 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ np ];
|
|
|
|
};
|
|
|
|
}
|