python39Packages.cppy: fix version number, update disabled
This commit is contained in:
parent
5392d8d6d5
commit
958ca1d1dd
1 changed files with 7 additions and 3 deletions
|
@ -1,23 +1,27 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy3k
|
, pythonOlder
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, setuptools-scm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cppy";
|
pname = "cppy";
|
||||||
version = "1.2.0";
|
version = "1.2.0";
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-leiGLk+CbD8qa3tlgzOxYvgMvp+UOqDQp6ay74UK7/w=";
|
sha256 = "sha256-leiGLk+CbD8qa3tlgzOxYvgMvp+UOqDQp6ay74UK7/w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Not supported
|
nativeBuildInputs = [
|
||||||
disabled = !isPy3k;
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
pythonImportsCheck = [ "cppy" ];
|
pythonImportsCheck = [ "cppy" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue