python3Packages.cppy: 1.2.1 -> 1.3.0

This commit is contained in:
Martin Weinelt
2025-01-27 10:55:00 +01:00
parent 44c8cbade2
commit 8525cf71d0
@@ -1,7 +1,7 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
pythonOlder,
pytestCheckHook,
setuptools-scm,
@@ -9,22 +9,26 @@
buildPythonPackage rec {
pname = "cppy";
version = "1.2.1";
format = "setuptools";
version = "1.3.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-g7Q78XsQhawVxd69tCFU8Ti5KCNLIURzWJgfadDW/hs=";
src = fetchFromGitHub {
owner = "nucleic";
repo = "cppy";
tag = version;
hash = "sha256-RwwXwdjpq4ZjUyHkWoh3eaJDzIV3MargeoBJ+nTHsyg=";
};
nativeBuildInputs = [ setuptools-scm ];
build-system = [ setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cppy" ];
meta = {
changelog = "https://github.com/nucleic/cppy/releases/tag/${src.tag}";
description = "C++ headers for C extension development";
homepage = "https://github.com/nucleic/cppy";
license = lib.licenses.bsd3;