mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
0215034f25
when they already rely on SRI hashes.
34 lines
643 B
Nix
34 lines
643 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, aiohttp
|
|
, prometheus-client
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiohttp-openmetrics";
|
|
version = "0.0.11";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "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; [ ];
|
|
};
|
|
}
|