1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 poetry-core,
6 asgiref,
7}:
8
9buildPythonPackage rec {
10 pname = "asgi-logger";
11 version = "0.1.0";
12 format = "pyproject";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-son1ML9J0UMgJCpWdYD/yK0FO6VmfuzifSWpeCLToKo=";
17 };
18
19 nativeBuildInputs = [ poetry-core ];
20 propagatedBuildInputs = [ asgiref ];
21
22 # tests are not in the pypi release, and there are no tags/release corresponding to the pypi releases in the github
23 doCheck = false;
24 pythonImportsCheck = [ "asgi_logger" ];
25
26 meta = with lib; {
27 description = "Access logger for ASGI servers";
28 homepage = "https://github.com/Kludex/asgi-logger";
29 license = licenses.mit;
30 teams = [ teams.wdz ];
31 };
32}