18 buildPythonPackage rec {
19 pname = "aioprometheus";
20 version = "unstable-2023-03-14";
21 format = "setuptools";
23 disabled = pythonOlder "3.8";
25 src = fetchFromGitHub {
27 repo = "aioprometheus";
28 rev = "4786678b413d166c0b6e0041558d11bc1a7097b2";
29 hash = "sha256-2z68rQkMjYqkszg5Noj9owWUWQGOEp/91RGiWiyZVOY=";
32 propagatedBuildInputs = [
37 optional-dependencies = {
38 aiohttp = [ aiohttp ];
39 starlette = [ starlette ];
49 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
51 pythonImportsCheck = [ "aioprometheus" ];
54 description = "Prometheus Python client library for asyncio-based applications";
55 homepage = "https://github.com/claws/aioprometheus";
56 changelog = "https://github.com/claws/aioprometheus/blob/${src.rev}/CHANGELOG.md";
57 license = licenses.mit;
58 maintainers = with maintainers; [ mbalatsko ];