1 { lib, buildPythonPackage, fetchurl, python }:
3 buildPythonPackage rec {
9 url = "mirror://sourceforge/cxx/CXX/PyCXX%20V${version}/pycxx-${version}.tar.gz";
10 sha256 = "MUMU+/qsm92WENYFxfjQsSuR8/nE/asYG8HgIbaAaz0=";
13 outputs = [ "out" "dev" ];
17 mv $out/include/${python.libPrefix}*/CXX/ $dev/include/CXX/
19 sed -i "s|Src|$dev/src|" $dev/src/cxxextensions.c $dev/src/cxxsupport.cxx
23 description = "set of classes to help create extensions of Python in the C++ language";
24 homepage = "https://sourceforge.net/projects/cxx/";
25 maintainers = with maintainers; [ freezeboy ];
26 platforms = platforms.all;