nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 56 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 cbor2, 5 coincurve, 6 crcmod, 7 ecdsa, 8 ed25519-blake2b, 9 fetchFromGitHub, 10 py-sr25519-bindings, 11 pycryptodome, 12 pynacl, 13 pytestCheckHook, 14 setuptools, 15}: 16 17buildPythonPackage rec { 18 pname = "bip-utils"; 19 version = "2.10.0"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "ebellocchia"; 24 repo = "bip_utils"; 25 tag = "v${version}"; 26 hash = "sha256-84fhL8+/hIHnS7QpbgvPXw/WH2XZbsN895KI/XIKsKw="; 27 }; 28 29 nativeBuildInputs = [ setuptools ]; 30 31 propagatedBuildInputs = [ 32 ecdsa 33 cbor2 34 pynacl 35 coincurve 36 crcmod 37 ed25519-blake2b 38 py-sr25519-bindings 39 pycryptodome 40 ]; 41 42 nativeCheckInputs = [ pytestCheckHook ]; 43 44 pythonImportsCheck = [ "bip_utils" ]; 45 46 meta = { 47 description = "Implementation of BIP39, BIP32, BIP44, BIP49 and BIP84 for wallet seeds, keys and addresses generation"; 48 homepage = "https://github.com/ebellocchia/bip_utils"; 49 changelog = "https://github.com/ebellocchia/bip_utils/blob/${src.tag}/CHANGELOG.md"; 50 license = with lib.licenses; [ mit ]; 51 maintainers = with lib.maintainers; [ 52 prusnak 53 stargate01 54 ]; 55 }; 56}