From 2c9de9e1f1ab959bb057b39ff62cc58ac3b1dc81 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 16 Jul 2025 19:10:57 +0200 Subject: [PATCH] python3Packages.pytest-unmagic: add update script --- pkgs/development/python-modules/pytest-unmagic/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/pytest-unmagic/default.nix b/pkgs/development/python-modules/pytest-unmagic/default.nix index 946478de5f68..e770516cb457 100644 --- a/pkgs/development/python-modules/pytest-unmagic/default.nix +++ b/pkgs/development/python-modules/pytest-unmagic/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, + gitUpdater, flit-core, pytest, }: @@ -29,6 +30,8 @@ buildPythonPackage rec { pythonImportsCheck = [ "unmagic" ]; + passthru.updateScript = gitUpdater { rev-prefix = "v"; }; + meta = { description = "Pytest fixtures with conventional import semantics"; homepage = "https://github.com/dimagi/pytest-unmagic";