depot/third_party/nixpkgs/pkgs/development/python-modules/bip_utils/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

35 lines
770 B
Nix

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