1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, ecdsa
6, pysha3
7}:
8
9buildPythonPackage rec {
10 pname = "bip_utils";
11 version = "1.4.0";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "582022ab5c1ff35d0179a22a39c90b7e4e71e4641d59b2a3e81d60df741d1e3c";
18 };
19
20 propagatedBuildInputs = [ ecdsa pysha3 ];
21
22 # tests are not packaged in the released tarball
23 doCheck = false;
24
25 pythonImportsCheck = [
26 "bip_utils"
27 ];
28
29 meta = {
30 description = "Implementation of BIP39, BIP32, BIP44, BIP49 and BIP84 for wallet seeds, keys and addresses generation";
31 homepage = "https://github.com/ebellocchia/bip_utils";
32 license = with lib.licenses; [ mit ];
33 maintainers = with lib.maintainers; [ prusnak ];
34 };
35}