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";