15 buildPythonPackage rec {
18 format = "setuptools";
19 disabled = pythonOlder "3.5";
21 src = fetchFromGitHub {
25 hash = "sha256-aN7ee25ghKKa90+FoMDCdGauToePc5AzDLV3tONvh4U=";
29 substituteInPlace setup.py \
30 --replace "base58>=1.0.2,<2.0" "base58>=1.0.2" \
31 --replace "py-multihash>=0.2.0,<1.0.0" "py-multihash>=0.2.0" \
32 --replace "'pytest-runner'," ""
35 propagatedBuildInputs = [
48 pythonImportsCheck = [ "cid" ];
51 description = "Self-describing content-addressed identifiers for distributed systems implementation in Python";
52 homepage = "https://github.com/ipld/py-cid";
53 license = licenses.mit;
54 maintainers = with maintainers; [ Luflosi ];