python39Packages.cppy: fix version number, update disabled

This commit is contained in:
Sandro Jäckel 2022-03-27 13:35:11 +02:00
parent 5392d8d6d5
commit 958ca1d1dd
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -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 = {