python.pkgs.pybindgen: disable checks on Py3

This commit is contained in:
c0bw3b 2019-05-23 00:33:50 +02:00
parent d7f6429c0e
commit 291347cde7

View File

@ -1,4 +1,4 @@
{ stdenv, fetchPypi, buildPythonPackage, setuptools_scm, pygccxml }: { stdenv, fetchPypi, buildPythonPackage, isPy3k, setuptools_scm, pygccxml }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "PyBindGen"; pname = "PyBindGen";
version = "0.19.0"; version = "0.19.0";
@ -11,6 +11,7 @@ buildPythonPackage rec {
buildInputs = [ setuptools_scm ]; buildInputs = [ setuptools_scm ];
checkInputs = [ pygccxml ]; checkInputs = [ pygccxml ];
doCheck = (!isPy3k); # Fails to import module 'cxxfilt' from pygccxml on Py3k
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/gjcarneiro/pybindgen; homepage = https://github.com/gjcarneiro/pybindgen;
@ -19,5 +20,3 @@ buildPythonPackage rec {
maintainers = with maintainers; [ teto ]; maintainers = with maintainers; [ teto ];
}; };
} }