From 26838e47673f32f2b6b4986fc7df30f7fe5218c0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 19 Feb 2025 11:29:08 +0100 Subject: [PATCH] python312Packages.prometheus-async: 22.1.0 -> 25.1.0 Diff: https://github.com/hynek/prometheus-async/compare/22.1.0...25.1.0 Changelog: https://github.com/hynek/prometheus-async/blob/25.1.0/CHANGELOG.md --- .../prometheus-async/default.nix | 37 ++++++++----------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/pkgs/development/python-modules/prometheus-async/default.nix b/pkgs/development/python-modules/prometheus-async/default.nix index 9f35acd96b1a..a8c89b503d61 100644 --- a/pkgs/development/python-modules/prometheus-async/default.nix +++ b/pkgs/development/python-modules/prometheus-async/default.nix @@ -1,52 +1,45 @@ { lib, + aiohttp, buildPythonPackage, fetchFromGitHub, - - flit-core, - + hatch-vcs, + hatchling, prometheus-client, + pytest-asyncio, + pytestCheckHook, + twisted, typing-extensions, wrapt, - aiohttp, - twisted, - - pytestCheckHook, - pytest-asyncio, }: buildPythonPackage rec { pname = "prometheus-async"; - version = "22.1.0"; + version = "25.1.0"; pyproject = true; src = fetchFromGitHub { owner = "hynek"; repo = "prometheus-async"; rev = version; - hash = "sha256-2C4qr0gLYHndd49UfjtuF/v05Hl2PuyegPUhCAmd5/E="; + hash = "sha256-e/BVxATpafxddq26Rt7XTiK4ajY+saUApXbmTG0/I6I="; }; - nativeBuildInputs = [ - flit-core + build-system = [ + hatch-vcs + hatchling ]; - propagatedBuildInputs = [ + dependencies = [ prometheus-client typing-extensions wrapt ]; optional-dependencies = { - aiohttp = [ - aiohttp - ]; - consul = [ - aiohttp - ]; - twisted = [ - twisted - ]; + aiohttp = [ aiohttp ]; + consul = [ aiohttp ]; + twisted = [ twisted ]; }; nativeCheckInputs = [