3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.txtorcon: disable tests on aarch64-darwin

This commit is contained in:
Ben Siraphob 2022-01-24 16:03:24 -06:00
parent 1ea35d50d8
commit be8a4c3222
No known key found for this signature in database
GPG key ID: 45F0E5D788143267

View file

@ -1,4 +1,4 @@
{ lib, python, buildPythonPackage, pythonOlder, fetchPypi, isPy3k, incremental, ipaddress, twisted
{ lib, stdenv, python, buildPythonPackage, pythonOlder, fetchPypi, isPy3k, incremental, ipaddress, twisted
, automat, zope_interface, idna, pyopenssl, service-identity, pytest, mock, lsof
, GeoIP}:
@ -22,6 +22,7 @@ buildPythonPackage rec {
# as Python 3.5.
disabled = pythonOlder "3.5";
doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
checkPhase = ''
${python.interpreter} -m twisted.trial -j $NIX_BUILD_CORES ./test
'';