1{ lib, fetchPypi, buildPythonPackage, isPy3k, setuptools-scm, pygccxml }: 2buildPythonPackage rec { 3 pname = "PyBindGen"; 4 version = "0.22.0"; 5 6 src = fetchPypi { 7 inherit pname version; 8 sha256 = "5b4837d3138ac56863d93fe462f1dac39fb87bd50898e0da4c57fefd645437ac"; 9 }; 10 11 buildInputs = [ setuptools-scm ]; 12 13 checkInputs = [ pygccxml ]; 14 doCheck = (!isPy3k); # Fails to import module 'cxxfilt' from pygccxml on Py3k 15 16 meta = with lib; { 17 homepage = "https://github.com/gjcarneiro/pybindgen"; 18 description = "Python Bindings Generator"; 19 license = licenses.lgpl2; 20 maintainers = with maintainers; [ teto ]; 21 }; 22}