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