nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 34 lines 741 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 = "2.2.1"; 12 13 disabled = pythonOlder "3.6"; 14 15 src = fetchFromGitHub { 16 owner = "ebellocchia"; 17 repo = pname; 18 rev = "v${version}"; 19 sha256 = "sha256-p2JOZAJxQ/nPZ7vjnB24hA3kz3Io4D3HTP/8mqS/XCc="; 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}