1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pythonOlder
5, ecdsa
6, pysha3
7}:
8
9buildPythonPackage rec {
10 pname = "bip_utils";
11 version = "1.11.1";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchFromGitHub {
16 owner = "ebellocchia";
17 repo = pname;
18 rev = "v${version}";
19 sha256 = "0r8h979rklq7cvl0b449mfrx62dv367s31zgwfqn81kj72i3ndg4";
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}