treewide: disable tests on darwin

- tthsum
- python-papis
- python-sqlalchemy-migrate
- python-xlib
- dub
This commit is contained in:
Matthew Bauer 2019-04-22 22:49:34 -04:00
parent ecffd43b46
commit b1de8cf480
5 changed files with 10 additions and 1 deletions

View File

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
cp obj-unix/tthsum $out/bin
'';
doCheck = !stdenv.isDarwin;
meta = with stdenv.lib; {
description = "An md5sum-alike program that works with Tiger/THEX hashes";
longDescription = ''

View File

@ -5,6 +5,7 @@
, prompt_toolkit, pygments
#, optional, dependencies
, jinja2, whoosh, pytest
, stdenv
}:
buildPythonPackage rec {
@ -28,6 +29,8 @@ buildPythonPackage rec {
jinja2 whoosh
];
doCheck = !stdenv.isDarwin;
checkInputs = ([
pytest
]) ++ [

View File

@ -21,6 +21,8 @@ buildPythonPackage rec {
checkInputs = [ unittest2 scripttest pytz mock testtools testrepository ];
propagatedBuildInputs = [ pbr tempita decorator sqlalchemy six sqlparse ];
doCheck = !stdenv.isDarwin;
prePatch = ''
sed -i -e /tempest-lib/d \
-e /testtools/d \

View File

@ -30,6 +30,8 @@ buildPythonPackage rec {
buildInputs = [ xorg.libX11 ];
propagatedBuildInputs = [ six ];
doCheck = !stdenv.isDarwin;
meta = with stdenv.lib; {
description = "Fully functional X client library for Python programs";
homepage = http://python-xlib.sourceforge.net/;

View File

@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
./build.sh
'';
doCheck = true;
doCheck = !stdenv.isDarwin;
checkPhase = ''
export DUB=$NIX_BUILD_TOP/source/bin/dub