d5f4a57cbf
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
39 lines
915 B
Nix
39 lines
915 B
Nix
{ lib
|
|
, castxml
|
|
, fetchFromGitHub
|
|
, buildPythonPackage
|
|
, llvmPackages
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pygccxml";
|
|
version = "2.3.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gccxml";
|
|
repo = "pygccxml";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-+cmp41iWbkUSLNFLvEPHocpTQAX2CpD8HMXLIYcy+8k=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|