blob: 5032731cfc8124db8c85fbc3ffc7b6e4ac1e0fca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
castxml,
fetchFromGitHub,
buildPythonPackage,
llvmPackages,
setuptools,
}:
buildPythonPackage rec {
pname = "pygccxml";
version = "3.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "gccxml";
repo = "pygccxml";
tag = "v${version}";
hash = "sha256-pIo25/tKiXpyiWUkpILPDPTNWIUEGK4uRSTpvoGwS1Q=";
};
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 = {
description = "Python package for easy C++ declarations navigation";
homepage = "https://github.com/gccxml/pygccxml";
changelog = "https://github.com/CastXML/pygccxml/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.boost;
maintainers = with lib.maintainers; [ teto ];
};
}
|