From 2c9de9e1f1ab959bb057b39ff62cc58ac3b1dc81 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 16 Jul 2025 19:10:57 +0200 Subject: [PATCH 1/2] 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"; From cf0e49113ab350bd682a8c7ca9fd28406eae6ecc Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 16 Jul 2025 17:11:14 +0000 Subject: [PATCH 2/2] python3Packages.pytest-unmagic: 1.0.0 -> 1.0.1 --- pkgs/development/python-modules/pytest-unmagic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-unmagic/default.nix b/pkgs/development/python-modules/pytest-unmagic/default.nix index e770516cb457..869bbfd65b03 100644 --- a/pkgs/development/python-modules/pytest-unmagic/default.nix +++ b/pkgs/development/python-modules/pytest-unmagic/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "pytest-unmagic"; - version = "1.0.0"; + version = "1.0.1"; pyproject = true; src = fetchFromGitHub { owner = "dimagi"; repo = "pytest-unmagic"; tag = "v${version}"; - hash = "sha256-5WnLjQ0RuwLBIZAbOJoQ0KBEnb7yUWTUFBKy+WgNctQ="; + hash = "sha256-XHeQuMCYHtrNF5+7e/eMzcvYukM+AobHCMRdzL+7KpU="; }; build-system = [