Loading pkgs/development/python-modules/py-cid/default.nix +9 −8 Original line number Diff line number Diff line Loading @@ -9,12 +9,14 @@ morphys, py-multihash, hypothesis, pytest-cov-stub, setuptools, }: buildPythonPackage rec { pname = "py-cid"; version = "0.4.0"; format = "setuptools"; pyproject = true; src = fetchFromGitHub { owner = "ipld"; Loading @@ -23,14 +25,11 @@ buildPythonPackage rec { hash = "sha256-IYjk7sajHFWgsOMxwk1tWvKtTfPN8vHoNeENQed7MiU="; }; postPatch = '' substituteInPlace setup.py \ --replace "base58>=1.0.2,<2.0" "base58>=1.0.2" \ --replace "py-multihash>=0.2.0,<1.0.0" "py-multihash>=0.2.0" \ --replace "'pytest-runner'," "" ''; pythonRelaxDeps = [ "base58" ]; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ base58 py-multibase py-multicodec Loading @@ -40,6 +39,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-cov-stub hypothesis ]; Loading @@ -48,6 +48,7 @@ buildPythonPackage rec { meta = { description = "Self-describing content-addressed identifiers for distributed systems implementation in Python"; homepage = "https://github.com/ipld/py-cid"; changelog = "https://github.com/ipld/py-cid/blob/${src.tag}/HISTORY.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ Luflosi ]; }; Loading Loading
pkgs/development/python-modules/py-cid/default.nix +9 −8 Original line number Diff line number Diff line Loading @@ -9,12 +9,14 @@ morphys, py-multihash, hypothesis, pytest-cov-stub, setuptools, }: buildPythonPackage rec { pname = "py-cid"; version = "0.4.0"; format = "setuptools"; pyproject = true; src = fetchFromGitHub { owner = "ipld"; Loading @@ -23,14 +25,11 @@ buildPythonPackage rec { hash = "sha256-IYjk7sajHFWgsOMxwk1tWvKtTfPN8vHoNeENQed7MiU="; }; postPatch = '' substituteInPlace setup.py \ --replace "base58>=1.0.2,<2.0" "base58>=1.0.2" \ --replace "py-multihash>=0.2.0,<1.0.0" "py-multihash>=0.2.0" \ --replace "'pytest-runner'," "" ''; pythonRelaxDeps = [ "base58" ]; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ base58 py-multibase py-multicodec Loading @@ -40,6 +39,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-cov-stub hypothesis ]; Loading @@ -48,6 +48,7 @@ buildPythonPackage rec { meta = { description = "Self-describing content-addressed identifiers for distributed systems implementation in Python"; homepage = "https://github.com/ipld/py-cid"; changelog = "https://github.com/ipld/py-cid/blob/${src.tag}/HISTORY.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ Luflosi ]; }; Loading