2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
poetry-core,
|
|
|
|
asgiref,
|
2024-01-02 11:29:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "asgi-logger";
|
|
|
|
version = "0.1.0";
|
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-son1ML9J0UMgJCpWdYD/yK0FO6VmfuzifSWpeCLToKo=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ poetry-core ];
|
|
|
|
propagatedBuildInputs = [ asgiref ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
# tests are not in the pypi release, and there are no tags/release corresponding to the pypi releases in the github
|
|
|
|
doCheck = false;
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "asgi_logger" ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Access logger for ASGI servers";
|
|
|
|
homepage = "https://github.com/Kludex/asgi-logger";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = teams.wdz.members;
|
|
|
|
};
|
|
|
|
}
|