Loading pkgs/development/python-modules/py-multihash/default.nix +12 −8 Original line number Diff line number Diff line { base58 { lib , base58 , buildPythonPackage , fetchFromGitHub , lib , morphys , pytest-runner , pytestCheckHook , pythonOlder , six Loading @@ -13,18 +12,21 @@ buildPythonPackage rec { pname = "py-multihash"; version = "2.0.1"; format = "setuptools"; disabled = pythonOlder "3.4"; src = fetchFromGitHub { owner = "multiformats"; repo = pname; rev = "v${version}"; rev = "refs/tags/v${version}"; hash = "sha256-z1lmSypGCMFWJNzNgV9hx/IStyXbpd5jvrptFpewuOA="; }; nativeBuildInputs = [ pytest-runner ]; postPatch = '' substituteInPlace setup.py \ --replace "'pytest-runner', " "" ''; propagatedBuildInputs = [ base58 Loading @@ -37,7 +39,9 @@ buildPythonPackage rec { pytestCheckHook ]; pythonImportsCheck = [ "multihash" ]; pythonImportsCheck = [ "multihash" ]; meta = with lib; { description = "Self describing hashes - for future proofing"; Loading Loading
pkgs/development/python-modules/py-multihash/default.nix +12 −8 Original line number Diff line number Diff line { base58 { lib , base58 , buildPythonPackage , fetchFromGitHub , lib , morphys , pytest-runner , pytestCheckHook , pythonOlder , six Loading @@ -13,18 +12,21 @@ buildPythonPackage rec { pname = "py-multihash"; version = "2.0.1"; format = "setuptools"; disabled = pythonOlder "3.4"; src = fetchFromGitHub { owner = "multiformats"; repo = pname; rev = "v${version}"; rev = "refs/tags/v${version}"; hash = "sha256-z1lmSypGCMFWJNzNgV9hx/IStyXbpd5jvrptFpewuOA="; }; nativeBuildInputs = [ pytest-runner ]; postPatch = '' substituteInPlace setup.py \ --replace "'pytest-runner', " "" ''; propagatedBuildInputs = [ base58 Loading @@ -37,7 +39,9 @@ buildPythonPackage rec { pytestCheckHook ]; pythonImportsCheck = [ "multihash" ]; pythonImportsCheck = [ "multihash" ]; meta = with lib; { description = "Self describing hashes - for future proofing"; Loading