Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 34 lines 742 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, ecdsa 6, pysha3 7}: 8 9buildPythonPackage rec { 10 pname = "bip_utils"; 11 version = "1.9.0"; 12 13 disabled = pythonOlder "3.6"; 14 15 src = fetchFromGitHub { 16 owner = "ebellocchia"; 17 repo = pname; 18 rev = "v${version}"; 19 sha256 = "0i1jdpdsrc8cal5x0b1am9mgbca69ymxlaqpkw0y4d0m3m6vs33k"; 20 }; 21 22 propagatedBuildInputs = [ ecdsa pysha3 ]; 23 24 pythonImportsCheck = [ 25 "bip_utils" 26 ]; 27 28 meta = { 29 description = "Implementation of BIP39, BIP32, BIP44, BIP49 and BIP84 for wallet seeds, keys and addresses generation"; 30 homepage = "https://github.com/ebellocchia/bip_utils"; 31 license = with lib.licenses; [ mit ]; 32 maintainers = with lib.maintainers; [ prusnak ]; 33 }; 34}