a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
33 lines
645 B
Nix
33 lines
645 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, aiohttp
|
|
, prometheus-client
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiohttp-openmetrics";
|
|
version = "0.0.11";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-GIVUkjyn+iQSMZZ6dNmmimvbt+t+uxOYv2QEDk/dA+g=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
prometheus-client
|
|
];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aiohttp_openmetrics" ];
|
|
|
|
meta = with lib; {
|
|
description = "OpenMetrics provider for aiohttp";
|
|
homepage = "https://github.com/jelmer/aiohttp-openmetrics/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|