summary refs log tree commit diff
path: root/pkgs/development/python-modules/snitun
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-01-21 07:56:14 +0000
committerJörg Thalheim <joerg@thalheim.io>2020-01-21 07:56:14 +0000
commit1d24ce5ba0ffe410ca2e970ab7ed21304684dbd7 (patch)
treef5c6d3f416548b9e4b4ec246488d7eeef6cb1d8e /pkgs/development/python-modules/snitun
parent17a3674aadf738768c26d114e46bc50f5e38bb72 (diff)
downloadnixpkgs-1d24ce5ba0ffe410ca2e970ab7ed21304684dbd7.tar
nixpkgs-1d24ce5ba0ffe410ca2e970ab7ed21304684dbd7.tar.gz
nixpkgs-1d24ce5ba0ffe410ca2e970ab7ed21304684dbd7.tar.bz2
nixpkgs-1d24ce5ba0ffe410ca2e970ab7ed21304684dbd7.tar.lz
nixpkgs-1d24ce5ba0ffe410ca2e970ab7ed21304684dbd7.tar.xz
nixpkgs-1d24ce5ba0ffe410ca2e970ab7ed21304684dbd7.tar.zst
nixpkgs-1d24ce5ba0ffe410ca2e970ab7ed21304684dbd7.zip
snitun: fix macOS build
Diffstat (limited to 'pkgs/development/python-modules/snitun')
-rw-r--r--pkgs/development/python-modules/snitun/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/snitun/default.nix b/pkgs/development/python-modules/snitun/default.nix
index da9dbd79845..8212379e3d4 100644
--- a/pkgs/development/python-modules/snitun/default.nix
+++ b/pkgs/development/python-modules/snitun/default.nix
@@ -1,4 +1,4 @@
-{ lib, buildPythonPackage, python, fetchFromGitHub, attrs, cryptography, async-timeout, pytest-aiohttp, pytest }:
+{ lib, stdenv, buildPythonPackage, python, fetchFromGitHub, attrs, cryptography, async-timeout, pytest-aiohttp, pytest }:
 
 buildPythonPackage rec {
   pname = "snitun";
@@ -16,7 +16,8 @@ buildPythonPackage rec {
   checkInputs = [ pytest pytest-aiohttp ];
 
   checkPhase = ''
-    pytest tests/
+    # https://github.com/NabuCasa/snitun/issues/61
+    pytest ${lib.optionalString stdenv.isDarwin "-k 'not test_multiplexer_data_channel_abort_full'"} tests/
   '';
 
   meta = with lib; {