8ec1fd4587
GitOrigin-RevId: 266dc8c3d052f549826ba246d06787a219533b8f
34 lines
742 B
Nix
34 lines
742 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, ecdsa
|
|
, pysha3
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bip_utils";
|
|
version = "1.7.0";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ebellocchia";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1dj0c9sj0c4dkdf7rbz3s1z5kfzw22hpncm4bnwqigjzi6nrk81z";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|