1{ base58
2, buildPythonPackage
3, fetchPypi
4, isPy27
5, lib
6, morphys
7, pytest
8, pytestcov
9, pytestrunner
10, six
11, variants
12, varint
13}:
14
15buildPythonPackage rec {
16 pname = "py-multihash";
17 version = "0.2.3";
18
19 src = fetchPypi {
20 inherit pname version ;
21 sha256 = "f0ade4de820afdc4b4aaa40464ec86c9da5cae3a4578cda2daab4b0eb7e5b18d";
22 };
23
24 nativeBuildInputs = [
25 pytestrunner
26 ];
27
28 propagatedBuildInputs = [
29 base58
30 morphys
31 six
32 variants
33 varint
34 ];
35
36 checkInputs = [
37 pytest
38 pytestcov
39 ];
40
41 disabled = isPy27;
42
43 meta = with lib; {
44 broken = true;
45 description = "Self describing hashes - for future proofing";
46 homepage = "https://github.com/multiformats/py-multihash";
47 license = licenses.mit;
48 maintainers = with maintainers; [ rakesh4g ];
49 };
50}