blob: 63321d5c53c064f2f8f179a15c9879991fe30793 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
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 ];
nativeCheckInputs = [ 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 ];
};
}
|