From b0fdea5f9951bf86a784c61e0c8fad9faba615f0 Mon Sep 17 00:00:00 2001 From: Alex Epelde Date: Sat, 13 Jun 2026 08:55:01 -0400 Subject: [PATCH] python3Packages.low-index: add update script The default `nix-update-script { }` does not work. (cherry picked from commit 2a73bf3e84bb0db4c76da5420172a9a3512d4d36) --- pkgs/development/python-modules/low-index/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/low-index/default.nix b/pkgs/development/python-modules/low-index/default.nix index c753e78d2ff5..0f0a48415c0e 100644 --- a/pkgs/development/python-modules/low-index/default.nix +++ b/pkgs/development/python-modules/low-index/default.nix @@ -4,6 +4,7 @@ buildPythonPackage, fetchFromGitHub, setuptools, + nix-update-script, }: buildPythonPackage rec { @@ -28,6 +29,13 @@ buildPythonPackage rec { runHook postCheck ''; + passthru.updateScript = nix-update-script { + extraArgs = [ + "--version-regex" + "v(.*)_as_released" + ]; + }; + meta = { description = "Enumerates low index subgroups of a finitely presented group"; changelog = "https://github.com/3-manifolds/low_index/releases/tag/${src.tag}";