Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 22 lines 644 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, isPy3k, setuptools_scm, pygccxml }: 2buildPythonPackage rec { 3 pname = "PyBindGen"; 4 version = "0.20.1"; 5 6 src = fetchPypi { 7 inherit pname version; 8 sha256 = "5615f6b5d9b8aec86d69acedd050ecb5eb7d1338436c3667e345f800a2658f9f"; 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 stdenv.lib; { 17 homepage = https://github.com/gjcarneiro/pybindgen; 18 description = "Python Bindings Generator"; 19 license = licenses.lgpl2; 20 maintainers = with maintainers; [ teto ]; 21 }; 22}