nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 732 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPy3k, 6 pygccxml, 7 setuptools-scm, 8}: 9 10buildPythonPackage rec { 11 pname = "pybindgen"; 12 version = "0.22.1"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 pname = "PyBindGen"; 17 inherit version; 18 hash = "sha256-jH8iORpJqEUY9aKtBuOlseg50Q402nYxUZyKKPy6N2Q="; 19 }; 20 21 buildInputs = [ setuptools-scm ]; 22 23 nativeCheckInputs = [ pygccxml ]; 24 25 pythonImportsCheck = [ "pybindgen" ]; 26 27 # Fails to import module 'cxxfilt' from pygccxml on Py3k 28 doCheck = (!isPy3k); 29 30 meta = { 31 description = "Python Bindings Generator"; 32 homepage = "https://github.com/gjcarneiro/pybindgen"; 33 license = lib.licenses.lgpl21Plus; 34 maintainers = with lib.maintainers; [ teto ]; 35 }; 36}