Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 646 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, isPy3k, setuptools_scm, pygccxml }: 2buildPythonPackage rec { 3 pname = "PyBindGen"; 4 version = "0.21.0"; 5 6 src = fetchPypi { 7 inherit pname version; 8 sha256 = "4501aa3954fdac7bb4c049894f8aa1f0f4e1c1f50cc2303feef9bbe3aecfe364"; 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}