depot/third_party/nixpkgs/pkgs/development/python-modules/aiohttp-openmetrics/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

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; [ ];
};
}