17 buildPythonPackage rec {
18 pname = "aioprometheus";
19 version = "unstable-2023-03-14";
20 format = "setuptools";
22 disabled = pythonOlder "3.8";
24 src = fetchFromGitHub {
26 repo = "aioprometheus";
27 rev = "4786678b413d166c0b6e0041558d11bc1a7097b2";
28 hash = "sha256-2z68rQkMjYqkszg5Noj9owWUWQGOEp/91RGiWiyZVOY=";
31 propagatedBuildInputs = [
36 passthru.optional-dependencies = {
54 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
56 pythonImportsCheck = [ "aioprometheus" ];
59 description = "A Prometheus Python client library for asyncio-based applications";
60 homepage = "https://github.com/claws/aioprometheus";
61 changelog = "https://github.com/claws/aioprometheus/blob/${src.rev}/CHANGELOG.md";
62 license = licenses.mit;
63 maintainers = with maintainers; [ mbalatsko ];