From e2ff9af8290c72e0708856e7b501467fdb3ce61e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 18 May 2024 13:29:20 +0200 Subject: [PATCH] python312Packages.pytest-httpbin: refactor --- .../python-modules/pytest-httpbin/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytest-httpbin/default.nix b/pkgs/development/python-modules/pytest-httpbin/default.nix index db94f2b6e163..54d079205845 100644 --- a/pkgs/development/python-modules/pytest-httpbin/default.nix +++ b/pkgs/development/python-modules/pytest-httpbin/default.nix @@ -6,13 +6,13 @@ , pytestCheckHook , pythonOlder , requests -, six +, setuptools }: buildPythonPackage rec { pname = "pytest-httpbin"; version = "2.0.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -23,13 +23,16 @@ buildPythonPackage rec { hash = "sha256-tq9nz2na94HkLACt7xB1MUanh9/JOoe2vyEm5sAq0/4="; }; + build-system = [ + setuptools + ]; + buildInputs = [ pytest ]; propagatedBuildInputs = [ httpbin - six ]; nativeCheckInputs = [ @@ -51,6 +54,7 @@ buildPythonPackage rec { meta = with lib; { description = "Test your HTTP library against a local copy of httpbin.org"; homepage = "https://github.com/kevin1024/pytest-httpbin"; + changelog = "https://github.com/kevin1024/pytest-httpbin/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ ]; };