From f0c4efeff2695431595697d1093f95980cd0449d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 24 Aug 2026 16:19:07 +0200 Subject: [PATCH] python3Packages.aiohttp-basicauth: 1.1.0 -> 1.2.0 Diff: https://github.com/romis2012/aiohttp-basicauth/compare/v1.1.0...v1.2.0 Changelog: https://github.com/romis2012/aiohttp-basicauth/releases/tag/vv1.2.0 --- .../aiohttp-basicauth/default.nix | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/aiohttp-basicauth/default.nix b/pkgs/development/python-modules/aiohttp-basicauth/default.nix index ee04be1be591..dcdae986ff38 100644 --- a/pkgs/development/python-modules/aiohttp-basicauth/default.nix +++ b/pkgs/development/python-modules/aiohttp-basicauth/default.nix @@ -1,37 +1,41 @@ { lib, + aiohttp, buildPythonPackage, fetchFromGitHub, - aiohttp, - pytestCheckHook, pytest-asyncio, + pytestCheckHook, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aiohttp-basicauth"; - version = "1.1.0"; - format = "setuptools"; + version = "1.2.0"; + pyproject = true; src = fetchFromGitHub { owner = "romis2012"; repo = "aiohttp-basicauth"; - tag = "v${version}"; - hash = "sha256-DjwrMlkVVceA5kDzm0c/on0VMOxyMMA3Hu4Y2Tiu0lI="; + tag = "v${finalAttrs.version}"; + hash = "sha256-EnrICetTmQimScjaQ8/jviwwansbZtl35Z5v35rF7kU="; }; - propagatedBuildInputs = [ aiohttp ]; + build-system = [ setuptools ]; + + dependencies = [ aiohttp ]; nativeCheckInputs = [ - pytestCheckHook pytest-asyncio + pytestCheckHook ]; pythonImportsCheck = [ "aiohttp_basicauth" ]; meta = { - description = "HTTP basic authentication middleware for aiohttp 3.0"; + description = "HTTP basic authentication middleware for aiohttp"; homepage = "https://github.com/romis2012/aiohttp-basicauth"; + changelog = "https://github.com/romis2012/aiohttp-basicauth/releases/tag/v${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = [ ]; }; -} +})