Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / bip_utils / default.nix
blob1854bd4f71b529694a137697f1347a7904ad4e3e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , ecdsa
6 , pysha3
7 }:
9 buildPythonPackage rec {
10   pname = "bip_utils";
11   version = "1.7.0";
13   disabled = pythonOlder "3.6";
15   src = fetchFromGitHub {
16     owner = "ebellocchia";
17     repo = pname;
18     rev = "v${version}";
19     sha256 = "1dj0c9sj0c4dkdf7rbz3s1z5kfzw22hpncm4bnwqigjzi6nrk81z";
20   };
22   propagatedBuildInputs = [ ecdsa pysha3 ];
24   pythonImportsCheck = [
25     "bip_utils"
26   ];
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   };