ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / development / python-modules / pygccxml / default.nix
blob5c989fa5bdfe4a57b7cffc8c42e6879657e1e06f
2   lib,
3   castxml,
4   fetchFromGitHub,
5   buildPythonPackage,
6   llvmPackages,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "pygccxml";
13   version = "2.6.0";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "gccxml";
20     repo = "pygccxml";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-HTDbkhSbjFl41+i91M9cBwNs8nbcz+0H439Li0WFemg=";
23   };
25   nativeBuildInputs = [ setuptools ];
27   buildInputs = [
28     castxml
29     llvmPackages.libcxxStdenv
30   ];
32   # running the suite is hard, needs to generate xml_generator.cfg
33   # but the format doesn't accept -isystem directives
34   doCheck = false;
36   meta = with lib; {
37     description = "Python package for easy C++ declarations navigation";
38     homepage = "https://github.com/gccxml/pygccxml";
39     changelog = "https://github.com/CastXML/pygccxml/blob/v${version}/CHANGELOG.md";
40     license = licenses.boost;
41     maintainers = with maintainers; [ teto ];
42   };