Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / bip-utils / default.nix
blobc4709e80845d41119b6401340f20a78428212869
1 { lib
2 , buildPythonPackage
3 , cbor2
4 , coincurve
5 , crcmod
6 , ecdsa
7 , ed25519-blake2b
8 , fetchFromGitHub
9 , py-sr25519-bindings
10 , pycryptodome
11 , pynacl
12 , pytestCheckHook
13 , pythonOlder
14 , setuptools
17 buildPythonPackage rec {
18   pname = "bip-utils";
19   version = "2.9.3";
20   pyproject = true;
22   disabled = pythonOlder "3.7";
24   src = fetchFromGitHub {
25     owner = "ebellocchia";
26     repo = "bip_utils";
27     rev = "refs/tags/v${version}";
28     hash = "sha256-3G37n/mfI+3JVIkmJWzbB1qPPTE6NJJlFZWdE0fIIWA=";
29   };
31   nativeBuildInputs = [
32     setuptools
33   ];
35   propagatedBuildInputs = [
36     ecdsa
37     cbor2
38     pynacl
39     coincurve
40     crcmod
41     ed25519-blake2b
42     py-sr25519-bindings
43     pycryptodome
44   ];
46   nativeCheckInputs = [
47     pytestCheckHook
48   ];
50   pythonImportsCheck = [
51     "bip_utils"
52   ];
54   meta = with lib; {
55     description = "Implementation of BIP39, BIP32, BIP44, BIP49 and BIP84 for wallet seeds, keys and addresses generation";
56     homepage = "https://github.com/ebellocchia/bip_utils";
57     changelog = "https://github.com/ebellocchia/bip_utils/blob/v${version}/CHANGELOG.md";
58     license = with licenses; [ mit ];
59     maintainers = with maintainers; [ prusnak stargate01 ];
60   };