fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
43 lines
971 B
Nix
43 lines
971 B
Nix
{
|
|
lib,
|
|
castxml,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
llvmPackages,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pygccxml";
|
|
version = "2.5.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gccxml";
|
|
repo = "pygccxml";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-wHZy2BG3h+OMTvIAPtLlq1vsW5V/TqZdnzBJ9VipMiQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
buildInputs = [
|
|
castxml
|
|
llvmPackages.libcxxStdenv
|
|
];
|
|
|
|
# running the suite is hard, needs to generate xml_generator.cfg
|
|
# but the format doesn't accept -isystem directives
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Python package for easy C++ declarations navigation";
|
|
homepage = "https://github.com/gccxml/pygccxml";
|
|
changelog = "https://github.com/CastXML/pygccxml/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.boost;
|
|
maintainers = with maintainers; [ teto ];
|
|
};
|
|
}
|