nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 44 lines 1.0 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 pytestCheckHook, 6 setuptools, 7 base58, 8 coincurve, 9}: 10 11buildPythonPackage rec { 12 pname = "bip32"; 13 version = "5.0"; 14 pyproject = true; 15 16 # the PyPi source distribution ships a broken setup.py, so use github instead 17 src = fetchFromGitHub { 18 owner = "darosior"; 19 repo = "python-bip32"; 20 rev = version; 21 hash = "sha256-QO1gS9bx/eQPaLuB1ZNZuXj4DmeO4/La2hG9NCXjd+4="; 22 }; 23 24 pythonRelaxDeps = [ "coincurve" ]; 25 26 nativeBuildInputs = [ setuptools ]; 27 28 propagatedBuildInputs = [ 29 base58 30 coincurve 31 ]; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 pythonImportsCheck = [ "bip32" ]; 36 37 meta = { 38 description = "Minimalistic implementation of the BIP32 key derivation scheme"; 39 homepage = "https://github.com/darosior/python-bip32"; 40 changelog = "https://github.com/darosior/python-bip32/blob/${version}/CHANGELOG.md"; 41 license = with lib.licenses; [ bsd3 ]; 42 maintainers = with lib.maintainers; [ arcnmx ]; 43 }; 44}