python312Packages.prometheus-async: 22.1.0 -> 25.1.0 (#383332)

This commit is contained in:
Fabian Affolter
2025-02-19 20:50:28 +01:00
committed by GitHub

View File

@@ -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 = [