about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorkirillrdy <kirillrdy@gmail.com>2024-01-18 21:19:00 +0900
committerGitHub <noreply@github.com>2024-01-18 21:19:00 +0900
commitff0b012df767081b61798c97def0ba3c701c95ea (patch)
tree1d1ef932f17773d71d86118cc7e28692bed54859 /pkgs
parentc0733e0dc69c142423e067cd5b09940f261a2e14 (diff)
parent346cb05310db9e23e138e65c24aa55b5d916265a (diff)
Merge pull request #280332 from NixOS/pr/snakemake_8_1_1
snakemake: 8.0.1 -> 8.2.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/science/misc/snakemake/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/science/misc/snakemake/default.nix b/pkgs/applications/science/misc/snakemake/default.nix
index d279bd1e2cfd1..085b44bf586cd 100644
--- a/pkgs/applications/science/misc/snakemake/default.nix
+++ b/pkgs/applications/science/misc/snakemake/default.nix
@@ -6,14 +6,18 @@
 
 python3.pkgs.buildPythonApplication rec {
   pname = "snakemake";
-  version = "8.0.1";
+  version = "8.2.1";
   format = "setuptools";
 
   src = fetchFromGitHub {
     owner = "snakemake";
     repo = pname;
     rev = "refs/tags/v${version}";
-    hash = "sha256-F4c/lgp7J6LLye+f3FpzaXz3zM7R+jXxTziPlVbxFxA=";
+    hash = "sha256-NpsDJuxH+NHvE735OCHaISPSOhYDxWiKqCb4Yk9DHf4=";
+    # https://github.com/python-versioneer/python-versioneer/issues/217
+    postFetch = ''
+      sed -i "$out"/snakemake/_version.py -e 's#git_refnames = ".*"#git_refnames = " (tag: v${version})"#'
+    '';
   };
 
   postPatch = ''