summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan Lahfa <masterancpp@gmail.com>2023-05-15 09:09:09 +0200
committerGitHub <noreply@github.com>2023-05-15 09:09:09 +0200
commit308ee09f2f5e5a74e5bf5b47324249352738207c (patch)
tree13a10f356c61d520ef80d6b3188c3cf040be10a6
parentcd2a1fad0b29f8e38feb23b928ba491c99c28d38 (diff)
parent7edb72db10be8a47a818c3a808fe2926a767ed29 (diff)
Merge pull request #231598 from natsukium/truvari/disable-tests-darwin
truvari: disable some tests on darwin
-rw-r--r--pkgs/applications/science/biology/truvari/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/applications/science/biology/truvari/default.nix b/pkgs/applications/science/biology/truvari/default.nix
index cf64070d782f2..e626af56278fa 100644
--- a/pkgs/applications/science/biology/truvari/default.nix
+++ b/pkgs/applications/science/biology/truvari/default.nix
@@ -1,5 +1,6 @@
 { lib
 , fetchFromGitHub
+, fetchpatch
 , python3Packages
 , runtimeShell
 , bcftools
@@ -24,6 +25,19 @@ in python3Packages.buildPythonApplication rec {
     hash = "sha256-UJNMKEV5m2jFqnWvkVAtymkcE2TjPIXp7JqRZpMSqsE=";
   };
 
+  patches = [
+    (fetchpatch {
+      name = "fix-anno-trf-on-darwin.patch";
+      url = "https://github.com/ACEnglish/truvari/commit/f9f36305e8eaa88f951562210e3672a4d4f71265.patch";
+      hash = "sha256-7O9jTQDCC2b8hUBm0qJQCYMzTC9NFtn/E0dTHSfJALU=";
+    })
+    (fetchpatch {
+      name = "fix-anno-grm-on-darwin.patch";
+      url = "https://github.com/ACEnglish/truvari/commit/31416552008a506204ed4e2add55474f10392357.patch";
+      hash = "sha256-42u0ewZU38GCoSfff+XQFv9hEFeO3WlJufTHcl6vkN4=";
+    })
+  ];
+
   postPatch = ''
     substituteInPlace setup.py \
       --replace "rich==" "rich>="