about summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authornatsukium <tomoya.otabi@gmail.com>2023-10-07 00:10:27 +0900
committernatsukium <tomoya.otabi@gmail.com>2023-10-07 01:30:27 +0900
commit96178c29a4149d07adf4d7d4e2f6c7d2d7f2de0d (patch)
tree2335a5036b073618f5de097b63669f12dc1a1eff /pkgs/applications/science
parent776b2694a3516eb0a7de54eb90860e7da713ce12 (diff)
truvari: 4.0.0 -> 4.1.0
Diff: https://github.com/ACEnglish/truvari/compare/v4.0.0...v4.1.0

Changelog: https://github.com/ACEnglish/truvari/releases/tag/v4.1.0
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/biology/truvari/default.nix26
1 files changed, 8 insertions, 18 deletions
diff --git a/pkgs/applications/science/biology/truvari/default.nix b/pkgs/applications/science/biology/truvari/default.nix
index d0ddd0dfb36c7..946f4be606326 100644
--- a/pkgs/applications/science/biology/truvari/default.nix
+++ b/pkgs/applications/science/biology/truvari/default.nix
@@ -1,6 +1,5 @@
 { lib
 , fetchFromGitHub
-, fetchpatch
 , python3Packages
 , runtimeShell
 , bcftools
@@ -16,37 +15,28 @@ let
   };
 in python3Packages.buildPythonApplication rec {
   pname = "truvari";
-  version = "4.0.0";
+  version = "4.1.0";
+  pyproject = true;
 
   src = fetchFromGitHub {
     owner = "ACEnglish";
     repo = "truvari";
     rev = "v${version}";
-    hash = "sha256-UJNMKEV5m2jFqnWvkVAtymkcE2TjPIXp7JqRZpMSqsE=";
+    hash = "sha256-HFVAv1TTL/nMjr62tQKhMdwh25P/y4nBGzSbxoJxMmo=";
   };
 
-  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>="
     substituteInPlace truvari/utils.py \
       --replace "/bin/bash" "${runtimeShell}"
     patchShebangs repo_utils/test_files
   '';
 
+  nativeBuildInputs = [
+    python3Packages.setuptools
+  ];
+
   propagatedBuildInputs = with python3Packages; [
+    pywfa
     rich
     edlib
     pysam