evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / bip32 / default.nix
blobea8e22a52cc6feb40ad0c44d3424263fadcbb3e7
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8   base58,
9   coincurve,
12 buildPythonPackage rec {
13   pname = "bip32";
14   version = "3.4";
15   pyproject = true;
17   disabled = pythonOlder "3.9";
19   # the PyPi source distribution ships a broken setup.py, so use github instead
20   src = fetchFromGitHub {
21     owner = "darosior";
22     repo = "python-bip32";
23     rev = version;
24     hash = "sha256-o8UKR17XDWp1wTWYeDL0DJY+D11YI4mg0UuGEAPkHxE=";
25   };
27   pythonRelaxDeps = [ "coincurve" ];
29   nativeBuildInputs = [ setuptools ];
31   propagatedBuildInputs = [
32     base58
33     coincurve
34   ];
36   nativeCheckInputs = [ pytestCheckHook ];
38   pythonImportsCheck = [ "bip32" ];
40   meta = with lib; {
41     description = "Minimalistic implementation of the BIP32 key derivation scheme";
42     homepage = "https://github.com/darosior/python-bip32";
43     changelog = "https://github.com/darosior/python-bip32/blob/${version}/CHANGELOG.md";
44     license = with licenses; [ bsd3 ];
45     maintainers = with maintainers; [ arcnmx ];
46   };