2021-06-04 09:07:49 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, isPy3k, setuptools-scm, pygccxml }:
|
2020-04-24 23:36:52 +00:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PyBindGen";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "0.22.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "5b4837d3138ac56863d93fe462f1dac39fb87bd50898e0da4c57fefd645437ac";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-06-04 09:07:49 +00:00
|
|
|
buildInputs = [ setuptools-scm ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
checkInputs = [ pygccxml ];
|
|
|
|
doCheck = (!isPy3k); # Fails to import module 'cxxfilt' from pygccxml on Py3k
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/gjcarneiro/pybindgen";
|
|
|
|
description = "Python Bindings Generator";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = with maintainers; [ teto ];
|
|
|
|
};
|
|
|
|
}
|