2019-05-23 00:33:50 +02:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, isPy3k, setuptools_scm, pygccxml }:
|
2018-04-05 11:13:07 +02:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PyBindGen";
|
2018-06-12 18:47:04 +02:00
|
|
|
version = "0.19.0";
|
2018-04-05 11:13:07 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 18:47:04 +02:00
|
|
|
sha256 = "23f2b760e352729208cd4fbadbc618bd00f95a0a24db21a4182833afcc3b5208";
|
2018-04-05 11:13:07 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ setuptools_scm ];
|
|
|
|
|
|
|
|
checkInputs = [ pygccxml ];
|
2019-05-23 00:33:50 +02:00
|
|
|
doCheck = (!isPy3k); # Fails to import module 'cxxfilt' from pygccxml on Py3k
|
2018-04-05 11:13:07 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/gjcarneiro/pybindgen;
|
|
|
|
description = "Python Bindings Generator";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = with maintainers; [ teto ];
|
|
|
|
};
|
|
|
|
}
|