about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pybindgen/default.nix
blob: 18d688c3db3d123a3d0fd0aa929f7bd4d75fe5df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, fetchPypi, buildPythonPackage, isPy3k, setuptools-scm, pygccxml }:
buildPythonPackage rec {
  pname = "PyBindGen";
  version = "0.22.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "5b4837d3138ac56863d93fe462f1dac39fb87bd50898e0da4c57fefd645437ac";
  };

  buildInputs = [ setuptools-scm ];

  checkInputs = [ pygccxml ];
  doCheck = (!isPy3k); # Fails to import module 'cxxfilt' from pygccxml on Py3k

  meta = with lib; {
    homepage = "https://github.com/gjcarneiro/pybindgen";
    description = "Python Bindings Generator";
    license = licenses.lgpl2;
    maintainers = with maintainers; [ teto ];
  };
}