Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pygccxml / default.nix
blob10336a27549f319ff637a5aae4469992dfe4a720
1 { lib
2 , castxml
3 , fetchFromGitHub
4 , buildPythonPackage
5 , llvmPackages
6 , pythonOlder
7 , setuptools
8 }:
10 buildPythonPackage rec {
11   pname = "pygccxml";
12   version = "2.4.0";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "gccxml";
19     repo = "pygccxml";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-rw99afv68c92LWmKUErB1y0Cts69UEpI0GCxSMvD+B8=";
22   };
24   nativeBuildInputs = [
25     setuptools
26   ];
28   buildInputs = [
29     castxml
30     llvmPackages.libcxxStdenv
31   ];
33   # running the suite is hard, needs to generate xml_generator.cfg
34   # but the format doesn't accept -isystem directives
35   doCheck = false;
37   meta = with lib; {
38     description = "Python package for easy C++ declarations navigation";
39     homepage = "https://github.com/gccxml/pygccxml";
40     changelog = "https://github.com/CastXML/pygccxml/blob/v${version}/CHANGELOG.md";
41     license = licenses.boost;
42     maintainers = with maintainers; [ teto ];
43   };