blob: ef509b4d97ba15a83bdf1290134c113fc8769f53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
lib,
buildPythonPackage,
fetchPypi,
aiohttp,
prometheus-client,
setuptools,
}:
buildPythonPackage rec {
pname = "aiohttp-openmetrics";
version = "0.0.12";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-/ZRngcMlroCVTvIl+30DR4SI8LsSnTovuzg3YduWgWA=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
prometheus-client
];
# no tests
doCheck = false;
pythonImportsCheck = [ "aiohttp_openmetrics" ];
meta = {
description = "OpenMetrics provider for aiohttp";
homepage = "https://github.com/jelmer/aiohttp-openmetrics/";
changelog = "https://github.com/jelmer/aiohttp-openmetrics/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|