3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.py-multihash: init at 0.2.3

This commit is contained in:
Rakesh Gupta 2020-04-13 13:56:13 +05:30 committed by Jon
parent 382fcf9a09
commit a9655812a3
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,49 @@
{ base58
, buildPythonPackage
, fetchPypi
, isPy27
, lib
, morphys
, pytest
, pytestcov
, pytestrunner
, six
, variants
, varint
}:
buildPythonPackage rec {
pname = "py-multihash";
version = "0.2.3";
src = fetchPypi {
inherit pname version ;
sha256 = "f0ade4de820afdc4b4aaa40464ec86c9da5cae3a4578cda2daab4b0eb7e5b18d";
};
nativeBuildInputs = [
pytestrunner
];
propagatedBuildInputs = [
base58
morphys
six
variants
varint
];
checkInputs = [
pytest
pytestcov
];
disabled = isPy27;
meta = with lib; {
description = "Self describing hashes - for future proofing";
homepage = "https://github.com/multiformats/py-multihash";
license = licenses.mit;
maintainers = with maintainers; [ rakesh4g ];
};
}

View file

@ -1129,6 +1129,8 @@ in {
py-lru-cache = callPackage ../development/python-modules/py-lru-cache { };
py-multihash = callPackage ../development/python-modules/py-multihash { };
py-radix = callPackage ../development/python-modules/py-radix { };
pydbus = callPackage ../development/python-modules/pydbus { };