blob: 37eb243e07e3079b3e99feb784d6c1a84685837f (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
asgiref,
}:
buildPythonPackage rec {
pname = "asgi-logger";
version = "0.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-son1ML9J0UMgJCpWdYD/yK0FO6VmfuzifSWpeCLToKo=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ asgiref ];
# tests are not in the pypi release, and there are no tags/release corresponding to the pypi releases in the github
doCheck = false;
pythonImportsCheck = [ "asgi_logger" ];
meta = {
description = "Access logger for ASGI servers";
homepage = "https://github.com/Kludex/asgi-logger";
license = lib.licenses.mit;
};
}
|