1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, ecdsa 6, pysha3 7, coincurve 8, pynacl 9, crcmod 10, ed25519-blake2b 11, py-sr25519-bindings 12, cbor2 13, pycryptodome 14}: 15 16buildPythonPackage rec { 17 pname = "bip_utils"; 18 version = "2.7.0"; 19 20 disabled = pythonOlder "3.6"; 21 22 src = fetchFromGitHub { 23 owner = "ebellocchia"; 24 repo = pname; 25 rev = "v${version}"; 26 sha256 = "sha256-m7/CC5/T6qR2Ot4y5WQlzOAR0czz6XHCjJskES+2nns="; 27 }; 28 29 propagatedBuildInputs = [ 30 ecdsa 31 pysha3 32 cbor2 33 pynacl 34 coincurve 35 crcmod 36 ed25519-blake2b 37 py-sr25519-bindings 38 pycryptodome 39 ]; 40 41 pythonImportsCheck = [ 42 "bip_utils" 43 ]; 44 45 meta = { 46 description = "Implementation of BIP39, BIP32, BIP44, BIP49 and BIP84 for wallet seeds, keys and addresses generation"; 47 homepage = "https://github.com/ebellocchia/bip_utils"; 48 license = with lib.licenses; [ mit ]; 49 maintainers = with lib.maintainers; [ prusnak stargate01 ]; 50 }; 51}