python3.pkgs.asgi-logger: init at 0.1.0
This commit is contained in:
parent
3857999583
commit
988d52941d
2 changed files with 39 additions and 0 deletions
37
pkgs/development/python-modules/asgi-logger/default.nix
Normal file
37
pkgs/development/python-modules/asgi-logger/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, poetry-core
|
||||
, asgiref
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asgi-logger";
|
||||
version = "0.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
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 = with lib; {
|
||||
description = "Access logger for ASGI servers";
|
||||
homepage = "https://github.com/Kludex/asgi-logger";
|
||||
license = licenses.mit;
|
||||
maintainers = teams.wdz.members;
|
||||
};
|
||||
}
|
|
@ -748,6 +748,8 @@ self: super: with self; {
|
|||
|
||||
asgi-csrf = callPackage ../development/python-modules/asgi-csrf { };
|
||||
|
||||
asgi-logger = callPackage ../development/python-modules/asgi-logger { };
|
||||
|
||||
asgineer = callPackage ../development/python-modules/asgineer { };
|
||||
|
||||
asgiref = callPackage ../development/python-modules/asgiref { };
|
||||
|
|
Loading…
Reference in a new issue