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