pythonPackages.magic-wormhole: disable python2 tests

unable to load zope.interface
This commit is contained in:
Jonathan Ringer 2019-12-24 09:35:09 -08:00 committed by Frederik Rietdijk
parent 482a081339
commit 976731dcaa

View File

@ -1,6 +1,7 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy27
, spake2 , spake2
, pynacl , pynacl
, six , six
@ -18,7 +19,6 @@
, mock , mock
, magic-wormhole-transit-relay , magic-wormhole-transit-relay
, magic-wormhole-mailbox-server , magic-wormhole-mailbox-server
, isPy27
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -42,6 +42,8 @@ buildPythonPackage rec {
install -Dm644 docs/wormhole.1 $out/share/man/man1/wormhole.1 install -Dm644 docs/wormhole.1 $out/share/man/man1/wormhole.1
''; '';
# zope.interface issue
doCheck = !isPy27;
preCheck = '' preCheck = ''
export PATH=$out/bin:$PATH export PATH=$out/bin:$PATH
export LANG="en_US.UTF-8" export LANG="en_US.UTF-8"