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 cp obj-unix/tthsum $out/bin
''; '';
doCheck = !stdenv.isDarwin;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "An md5sum-alike program that works with Tiger/THEX hashes"; description = "An md5sum-alike program that works with Tiger/THEX hashes";
longDescription = '' longDescription = ''

View File

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

View File

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

View File

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

View File

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