From 82e103ece72170609040667130cd186d497ab5ea Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 01:27:10 +0200 Subject: [PATCH] python312Packages.pytest-test-utils: refactor --- .../python-modules/pytest-test-utils/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pytest-test-utils/default.nix b/pkgs/development/python-modules/pytest-test-utils/default.nix index 7d82fc8add97..3d2c0ecc3587 100644 --- a/pkgs/development/python-modules/pytest-test-utils/default.nix +++ b/pkgs/development/python-modules/pytest-test-utils/default.nix @@ -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 ]; };