2018-06-23 15:27:58 +02:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pbkdf2 }:
|
2017-05-31 23:01:05 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mnemonic";
|
2017-10-25 20:04:35 +02:00
|
|
|
version = "0.18";
|
2017-05-31 23:01:05 +02:00
|
|
|
|
2018-06-23 15:27:58 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-25 20:04:35 +02:00
|
|
|
sha256 = "02a7306a792370f4a0c106c2cf1ce5a0c84b9dbd7e71c6792fdb9ad88a727f1d";
|
2017-05-31 23:01:05 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pbkdf2 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Implementation of Bitcoin BIP-0039";
|
|
|
|
homepage = https://github.com/trezor/python-mnemonic;
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ np ];
|
|
|
|
};
|
|
|
|
}
|