python312Packages.pytest-test-utils: refactor

This commit is contained in:
Fabian Affolter
2024-05-23 01:27:10 +02:00
parent cd4d80665f
commit 82e103ece7
@@ -4,7 +4,6 @@
fetchFromGitHub,
setuptools,
setuptools-scm,
wheel,
pytestCheckHook,
pytest,
pythonOlder,
@@ -13,21 +12,20 @@
buildPythonPackage rec {
pname = "pytest-test-utils";
version = "0.1.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "iterative";
repo = pname;
repo = "pytest-test-utils";
rev = "refs/tags/${version}";
hash = "sha256-19oNAFff++7ntMdlnMXYc2w5I+EzGwWJh+rB1IjNZGk=";
};
nativeBuildInputs = [
build-system = [
setuptools
setuptools-scm
wheel
];
buildInputs = [ pytest ];
@@ -39,6 +37,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Pytest utilities for tests";
homepage = "https://github.com/iterative/pytest-test-utils";
changelog = "https://github.com/iterative/pytest-test-utils/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};