From 1a9e2e0b2ff07c5d8e87bd54c2fd47f356f70ac9 Mon Sep 17 00:00:00 2001 From: natsukium Date: Thu, 2 May 2024 17:16:07 +0900 Subject: [PATCH] python311Packages.htseq: add update script --- pkgs/development/python-modules/htseq/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/htseq/default.nix b/pkgs/development/python-modules/htseq/default.nix index 1e95f31739b8..6e36c7dd53de 100644 --- a/pkgs/development/python-modules/htseq/default.nix +++ b/pkgs/development/python-modules/htseq/default.nix @@ -9,6 +9,7 @@ python, isPy27, isPy3k, + nix-update-script, }: buildPythonPackage rec { version = "0.12.4"; @@ -37,6 +38,13 @@ buildPythonPackage rec { ${python.interpreter} python3/test/test_general.py ''; + passthru.updateScript = nix-update-script { + extraArgs = [ + "--version-regex" + "release_(.+)" + ]; + }; + meta = with lib; { homepage = "https://htseq.readthedocs.io/"; description = "A framework to work with high-throughput sequencing data";