From 9284474b901c9ff3c9c28532a2ea94b69dda35a0 Mon Sep 17 00:00:00 2001 From: Alex Epelde Date: Mon, 9 Feb 2026 22:00:20 -0500 Subject: [PATCH] python3Packages.cypari: add updateScript --- pkgs/development/python-modules/cypari/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/cypari/default.nix b/pkgs/development/python-modules/cypari/default.nix index 7b263b26720e..4343437554bc 100644 --- a/pkgs/development/python-modules/cypari/default.nix +++ b/pkgs/development/python-modules/cypari/default.nix @@ -3,6 +3,7 @@ fetchFromGitHub, python, buildPythonPackage, + nix-update-script, fetchurl, fetchpatch, @@ -78,6 +79,13 @@ buildPythonPackage rec { runHook postCheck ''; + passthru.updateScript = nix-update-script { + extraArgs = [ + "--version-regex" + "(.*)_as_released" + ]; + }; + meta = { description = "Sage's PARI extension, modified to stand alone"; homepage = "https://github.com/3-manifolds/CyPari";