2019-05-22 22:33:50 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, isPy3k, setuptools_scm, pygccxml }:
|
2018-04-05 09:13:07 +00:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PyBindGen";
|
2019-08-09 06:55:54 +00:00
|
|
|
version = "0.20.0";
|
2018-04-05 09:13:07 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-09 06:55:54 +00:00
|
|
|
sha256 = "0l9pz4s7p82ddf9nq56y1fk84j5dbsff1r2xnfily0m7sahyvc8g";
|
2018-04-05 09:13:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ setuptools_scm ];
|
|
|
|
|
|
|
|
checkInputs = [ pygccxml ];
|
2019-05-22 22:33:50 +00:00
|
|
|
doCheck = (!isPy3k); # Fails to import module 'cxxfilt' from pygccxml on Py3k
|
2018-04-05 09:13:07 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/gjcarneiro/pybindgen;
|
|
|
|
description = "Python Bindings Generator";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = with maintainers; [ teto ];
|
|
|
|
};
|
|
|
|
}
|