mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
python310Packages.pybindgen: add pythonImportsCheck
This commit is contained in:
parent
eee3d03b71
commit
52bd410a12
@ -1,22 +1,44 @@
|
||||
{ lib, fetchPypi, buildPythonPackage, isPy3k, setuptools-scm, pygccxml }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, pygccxml
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyBindGen";
|
||||
pname = "pybindgen";
|
||||
version = "0.22.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-jH8iORpJqEUY9aKtBuOlseg50Q402nYxUZyKKPy6N2Q=";
|
||||
pname = "PyBindGen";
|
||||
inherit version;
|
||||
hash = "sha256-jH8iORpJqEUY9aKtBuOlseg50Q402nYxUZyKKPy6N2Q=";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools-scm ];
|
||||
buildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
checkInputs = [ pygccxml ];
|
||||
doCheck = (!isPy3k); # Fails to import module 'cxxfilt' from pygccxml on Py3k
|
||||
checkInputs = [
|
||||
pygccxml
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pybindgen"
|
||||
];
|
||||
|
||||
# Fails to import module 'cxxfilt' from pygccxml on Py3k
|
||||
doCheck = (!isPy3k);
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/gjcarneiro/pybindgen";
|
||||
description = "Python Bindings Generator";
|
||||
license = licenses.lgpl2;
|
||||
homepage = "https://github.com/gjcarneiro/pybindgen";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ teto ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user