about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2019-09-09 17:23:27 +0100
committerGitHub <noreply@github.com>2019-09-09 17:23:27 +0100
commitc2dc1b364cb9f6ad1eec1b3eb5be3523f1e58c65 (patch)
treecae0055ed6669850b8d0e2a335eb6daeb2f53013
parenta80eef922da258598565c55c5ae10240109139b7 (diff)
parente5bbe65516ddb93ee785dd46e9d3296f518c005d (diff)
downloadnixlib-c2dc1b364cb9f6ad1eec1b3eb5be3523f1e58c65.tar
nixlib-c2dc1b364cb9f6ad1eec1b3eb5be3523f1e58c65.tar.gz
nixlib-c2dc1b364cb9f6ad1eec1b3eb5be3523f1e58c65.tar.bz2
nixlib-c2dc1b364cb9f6ad1eec1b3eb5be3523f1e58c65.tar.lz
nixlib-c2dc1b364cb9f6ad1eec1b3eb5be3523f1e58c65.tar.xz
nixlib-c2dc1b364cb9f6ad1eec1b3eb5be3523f1e58c65.tar.zst
nixlib-c2dc1b364cb9f6ad1eec1b3eb5be3523f1e58c65.zip
Merge pull request #68364 from gebner/vdirsyncer-pytest
vdirsyncer: fix build
-rw-r--r--pkgs/tools/misc/vdirsyncer/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/tools/misc/vdirsyncer/default.nix b/pkgs/tools/misc/vdirsyncer/default.nix
index 8f79f5463e30..7ac9542c6b5f 100644
--- a/pkgs/tools/misc/vdirsyncer/default.nix
+++ b/pkgs/tools/misc/vdirsyncer/default.nix
@@ -38,11 +38,8 @@ python3Packages.buildPythonApplication rec {
   checkInputs = with python3Packages; [ hypothesis pytest pytest-localserver pytest-subtesthack ];
 
   postPatch = ''
-    # Invalid argument: 'perform_health_check' is not a valid setting
-    substituteInPlace tests/conftest.py \
-      --replace "perform_health_check=False" ""
-    substituteInPlace tests/unit/test_repair.py \
-      --replace $'@settings(perform_health_check=False)  # Using the random module for UIDs\n' ""
+    # see https://github.com/pimutils/vdirsyncer/pull/805
+    substituteInPlace setup.cfg --replace --duration --durations
 
     # for setuptools_scm:
     echo 'Version: ${version}' >PKG-INFO