My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pybindgen/default.nix

44 lines
785 B

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, pygccxml
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "pybindgen";
version = "0.22.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "PyBindGen";
inherit version;
hash = "sha256-jH8iORpJqEUY9aKtBuOlseg50Q402nYxUZyKKPy6N2Q=";
};
buildInputs = [
setuptools-scm
];
checkInputs = [
pygccxml
];
pythonImportsCheck = [
"pybindgen"
];
# Fails to import module 'cxxfilt' from pygccxml on Py3k
doCheck = (!isPy3k);
meta = with lib; {
description = "Python Bindings Generator";
homepage = "https://github.com/gjcarneiro/pybindgen";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ teto ];
};
}