nixpkgs/pkgs/development/python-modules/mnemonic/default.nix

22 lines
558 B
Nix
Raw Normal View History

{ lib, fetchurl, buildPythonPackage, pbkdf2 }:
buildPythonPackage rec {
pname = "mnemonic";
2017-10-25 19:04:35 +01:00
version = "0.18";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/m/${pname}/${name}.tar.gz";
2017-10-25 19:04:35 +01:00
sha256 = "02a7306a792370f4a0c106c2cf1ce5a0c84b9dbd7e71c6792fdb9ad88a727f1d";
};
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 ];
};
}