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.

Changed files
+18 -2
pkgs
development
python-modules
pytest-codspeed
+18 -2
pkgs/development/python-modules/pytest-codspeed/default.nix
···
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 ];