diff options
author | rnhmjoj <micheleguerinirocco@me.com> | 2017-05-31 23:01:05 +0200 |
---|---|---|
committer | rnhmjoj <micheleguerinirocco@me.com> | 2017-06-01 00:48:32 +0200 |
commit | b3c91274811aad00d3efed81bf27c740fdf86785 (patch) | |
tree | 046743cee52be98bbeef66ec9cd0d03b271ebd28 /pkgs/development/python-modules/mnemonic | |
parent | 3463dd1c7bf50adbe8f45f28ced706c7f165edd1 (diff) |
pythonPackages.mnemonic: move expression to mnemonic/default.nix
Diffstat (limited to 'pkgs/development/python-modules/mnemonic')
-rw-r--r-- | pkgs/development/python-modules/mnemonic/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/mnemonic/default.nix b/pkgs/development/python-modules/mnemonic/default.nix new file mode 100644 index 0000000000000..9f71fdb8e7417 --- /dev/null +++ b/pkgs/development/python-modules/mnemonic/default.nix @@ -0,0 +1,21 @@ +{ lib, fetchurl, buildPythonPackage, pbkdf2 }: + +buildPythonPackage rec { + pname = "mnemonic"; + version = "0.17"; + name = "${pname}-${version}"; + + src = fetchurl { + url = "mirror://pypi/m/${pname}/${name}.tar.gz"; + sha256 = "1hq6xb47jagfqf65iwcrh0065mj3521d2mxmahg7vfraihqyqdjn"; + }; + + 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 ]; + }; +} |