From 1538319d171ca0c0c19207315a94b6ceb65b79a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 25 Jul 2024 10:42:33 -0700 Subject: [PATCH] python312Packages.aresponses: 2.1.6 -> 3.0.0 Diff: https://github.com/CircleUp/aresponses/compare/2.1.6...3.0.0 Changelog: https://github.com/aresponses/aresponses/blob/3.0.0/README.md#changelog --- .../python-modules/aresponses/default.nix | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/aresponses/default.nix b/pkgs/development/python-modules/aresponses/default.nix index f5d268fcf2bf..5c8c98177b69 100644 --- a/pkgs/development/python-modules/aresponses/default.nix +++ b/pkgs/development/python-modules/aresponses/default.nix @@ -4,38 +4,34 @@ buildPythonPackage, fetchFromGitHub, pythonOlder, - pytest, pytest-asyncio, pytestCheckHook, + setuptools, }: buildPythonPackage rec { pname = "aresponses"; - version = "2.1.6"; - format = "setuptools"; + version = "3.0.0"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { - owner = "CircleUp"; - repo = pname; + owner = "aresponses"; + repo = "aresponses"; rev = version; - hash = "sha256-Ui9ZpWaVBfCbDlZH3EgHX32FIZtyTHnc/UXqtoEyFcw="; + hash = "sha256-RklXlIsbdq46/7D6Hv4mdskunqw1a7SFF09OjhrvMRY="; }; - propagatedBuildInputs = [ aiohttp ]; + build-system = [ setuptools ]; - buildInputs = [ - pytest - pytest-asyncio - ]; - - nativeCheckInputs = [ + dependencies = [ aiohttp pytest-asyncio - pytestCheckHook ]; + nativeCheckInputs = [ pytestCheckHook ]; + disabledTests = [ # Disable tests which requires network access "test_foo" @@ -47,8 +43,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "aresponses" ]; meta = with lib; { + changelog = "https://github.com/aresponses/aresponses/blob/${src.rev}/README.md#changelog"; description = "Asyncio testing server"; - homepage = "https://github.com/circleup/aresponses"; + homepage = "https://github.com/aresponses/aresponses"; license = licenses.mit; maintainers = with maintainers; [ makefu ]; };