python313Packages.pytest-codspeed: init at 3.0.0

This commit is contained in:
Martin Weinelt
2024-11-18 19:24:05 +01:00
parent 635bae7444
commit 8fb80971fd
2 changed files with 59 additions and 0 deletions
@@ -0,0 +1,57 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
cffi,
filelock,
importlib-metadata,
pytest,
rich,
setuptools,
pytest-cov-stub,
pytestCheckHook,
semver,
}:
buildPythonPackage rec {
pname = "pytest-codspeed";
version = "3.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "CodSpeedHQ";
repo = "pytest-codspeed";
rev = "v${version}";
hash = "sha256-06U7S0hRb0J4hO48DaKMQk8Uzl2rUi1thQ4lGorfqpU=";
};
build-system = [ hatchling ];
dependencies = [
cffi
filelock
importlib-metadata
pytest
rich
setuptools
];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
semver
];
pythonImportsCheck = [
"pytest_codspeed"
];
meta = {
changelog = "https://github.com/CodSpeedHQ/pytest-codspeed/releases/tag/v${version}";
description = "Pytest plugin to create CodSpeed benchmarks";
homepage = "https://github.com/CodSpeedHQ/pytest-codspeed";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
};
}
+2
View File
@@ -12620,6 +12620,8 @@ self: super: with self; {
pytest-click = callPackage ../development/python-modules/pytest-click { };
pytest-codspeed = callPackage ../development/python-modules/pytest-codspeed { };
pytest-console-scripts = callPackage ../development/python-modules/pytest-console-scripts { };
pytest-cov = callPackage ../development/python-modules/pytest-cov { };