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
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cppy";
|
||||
version = "1.2.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-leiGLk+CbD8qa3tlgzOxYvgMvp+UOqDQp6ay74UK7/w=";
|
||||
};
|
||||
|
||||
# Not supported
|
||||
disabled = !isPy3k;
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "cppy" ];
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue