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