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

35 lines
742 B
Nix
Raw Normal View History

2020-07-15 11:37:34 +02:00
{ lib
, buildPythonPackage
2020-10-02 22:19:23 +02:00
, fetchFromGitHub
2020-08-15 15:43:16 -07:00
, pythonOlder
2020-07-15 11:37:34 +02:00
, ecdsa
, pysha3
}:
buildPythonPackage rec {
pname = "bip_utils";
2020-11-20 09:43:24 +00:00
version = "1.6.0";
2020-07-15 11:37:34 +02:00
2020-08-15 15:43:16 -07:00
disabled = pythonOlder "3.6";
2020-07-15 11:37:34 +02:00
2020-10-02 22:19:23 +02:00
src = fetchFromGitHub {
owner = "ebellocchia";
repo = pname;
rev = "v${version}";
2020-11-20 09:43:24 +00:00
sha256 = "0zbjrgl4dd65r3liyp8syxr106z1wn7ngfcm5dlfcxqwj8zkf56m";
2020-07-15 11:37:34 +02:00
};
propagatedBuildInputs = [ ecdsa pysha3 ];
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 ];
};
}