python3Packages.pytest-cid: switch to pypaBuildHook
This commit is contained in:
parent
0a45222556
commit
ebeac39db7
|
@ -2,6 +2,7 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, flit-core
|
||||||
, py-cid
|
, py-cid
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-cov
|
, pytest-cov
|
||||||
|
@ -10,7 +11,7 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-cid";
|
pname = "pytest-cid";
|
||||||
version = "1.1.2";
|
version = "1.1.2";
|
||||||
format = "flit";
|
format = "pyproject";
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -25,6 +26,10 @@ buildPythonPackage rec {
|
||||||
--replace "pytest >= 5.0, < 7.0" "pytest >= 5.0"
|
--replace "pytest >= 5.0, < 7.0" "pytest >= 5.0"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
flit-core
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
py-cid
|
py-cid
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue