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

33 lines
723 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, ecdsa
, pysha3
}:
buildPythonPackage rec {
pname = "bip_utils";
2020-08-16 17:30:53 +00:00
version = "1.4.0";
src = fetchPypi {
inherit pname version;
2020-08-16 17:30:53 +00:00
sha256 = "582022ab5c1ff35d0179a22a39c90b7e4e71e4641d59b2a3e81d60df741d1e3c";
};
propagatedBuildInputs = [ ecdsa pysha3 ];
# tests are not packaged in the released tarball
doCheck = false;
pythonImportsCheck = [
"bip_utils"
];
meta = {
description = "Implementation of BIP39, BIP32, BIP44, BIP49 and BIP84 for wallet seeds, keys and addresses generation";
homepage = "https://github.com/ebellocchia/bip_utils";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ prusnak ];
};
}