python312Packages.pycxx: 7.1.4 -> 7.1.8

This commit is contained in:
Robert Schütz
2024-07-19 07:02:24 -07:00
parent 536541be20
commit ff726ee2f5
@@ -2,17 +2,18 @@
lib,
buildPythonPackage,
fetchurl,
setuptools,
python,
}:
buildPythonPackage rec {
pname = "pycxx";
version = "7.1.4";
format = "setuptools";
version = "7.1.8";
pyproject = true;
src = fetchurl {
url = "mirror://sourceforge/cxx/CXX/PyCXX%20V${version}/pycxx-${version}.tar.gz";
sha256 = "MUMU+/qsm92WENYFxfjQsSuR8/nE/asYG8HgIbaAaz0=";
hash = "sha256-S5Hh4RQcI/vVA532NcS7bnVjIWhUj1a4POF3GTwMmMY=";
};
outputs = [
@@ -20,6 +21,8 @@ buildPythonPackage rec {
"dev"
];
build-system = [ setuptools ];
postInstall = ''
mkdir -p $dev/include
mv $out/include/${python.libPrefix}*/CXX/ $dev/include/CXX/
@@ -27,10 +30,10 @@ buildPythonPackage rec {
sed -i "s|Src|$dev/src|" $dev/src/cxxextensions.c $dev/src/cxxsupport.cxx
'';
meta = with lib; {
description = "set of classes to help create extensions of Python in the C++ language";
meta = {
description = "Set of classes to help create extensions of Python in the C++ language";
homepage = "https://sourceforge.net/projects/cxx/";
maintainers = with maintainers; [ freezeboy ];
platforms = platforms.all;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ freezeboy ];
};
}