From cf8be26716bff33865f66d72f4db6f9fcf974cc2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 5 Aug 2025 04:42:55 +0200 Subject: [PATCH] python3Packages.pytest-codspeed: 3.2.0 -> 4.0.0 https://github.com/CodSpeedHQ/pytest-codspeed/releases/tag/v4.0.0 This commit was automatically generated using update-python-libraries. --- .../pytest-codspeed/default.nix | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-codspeed/default.nix b/pkgs/development/python-modules/pytest-codspeed/default.nix index dbf611fa5b1a..0de2195da0fc 100644 --- a/pkgs/development/python-modules/pytest-codspeed/default.nix +++ b/pkgs/development/python-modules/pytest-codspeed/default.nix @@ -16,18 +16,34 @@ setuptools, }: +let + instrument-hooks = fetchFromGitHub { + owner = "CodSpeedHQ"; + repo = "instrument-hooks"; + rev = "b003e5024d61cfb784d6ac6f3ffd7d61bf7b9ec9"; + hash = "sha256-JTSH4wOpOGJ97iV6sagiRUu8d3sKM2NJRXcB3NmozNQ="; + }; +in + buildPythonPackage rec { pname = "pytest-codspeed"; - version = "3.2.0"; + version = "4.0.0"; pyproject = true; src = fetchFromGitHub { owner = "CodSpeedHQ"; repo = "pytest-codspeed"; tag = "v${version}"; - hash = "sha256-SNVJtnanaSQTSeX3EFG+21GFC1WFCQTbaNyi7QjQROw="; + hash = "sha256-5fdG7AEiLD3ZZzU/7zBK0+LDacTZooyDUo+FefcE4uQ="; }; + postPatch = '' + pushd src/pytest_codspeed/instruments/hooks + rmdir instrument-hooks + ln -nsf ${instrument-hooks} instrument-hooks + popd + ''; + build-system = [ hatchling ]; buildInputs = [ pytest ];