Merge pull request #236731 from fabaff/py-multihash-pytest-runner
python311Packages.py-multihash: remove pytest-runner
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
{ base58
|
||||
{ lib
|
||||
, base58
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, morphys
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, six
|
||||
@@ -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
|
||||
@@ -37,7 +39,9 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "multihash" ];
|
||||
pythonImportsCheck = [
|
||||
"multihash"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Self describing hashes - for future proofing";
|
||||
|
||||
Reference in New Issue
Block a user