keepalived add meta.mainProgram (#380296)
[NixPkgs.git] / pkgs / development / python-modules / asgi-logger / default.nix
blob0133515565e27dd95a61ec45b4e7b8c08af0f289
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   poetry-core,
6   asgiref,
7 }:
9 buildPythonPackage rec {
10   pname = "asgi-logger";
11   version = "0.1.0";
12   format = "pyproject";
14   src = fetchPypi {
15     inherit pname version;
16     hash = "sha256-son1ML9J0UMgJCpWdYD/yK0FO6VmfuzifSWpeCLToKo=";
17   };
19   nativeBuildInputs = [ poetry-core ];
20   propagatedBuildInputs = [ asgiref ];
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" ];
26   meta = with lib; {
27     description = "Access logger for ASGI servers";
28     homepage = "https://github.com/Kludex/asgi-logger";
29     license = licenses.mit;
30     maintainers = teams.wdz.members;
31   };