nixpkgs/pkgs/development/python-modules/bip_utils/default.nix
2020-08-16 19:30:53 +02:00

33 lines
723 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, ecdsa
, pysha3
}:
buildPythonPackage rec {
pname = "bip_utils";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
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 ];
};
}