python3Packages.loguru: init at 0.3.0
This commit is contained in:
parent
4363214bd7
commit
a96bab416a
24
pkgs/development/python-modules/loguru/default.nix
Normal file
24
pkgs/development/python-modules/loguru/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27, pytest, colorama }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "loguru";
|
||||
version = "0.3.0";
|
||||
|
||||
disabled = isPy27;
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1b2phizcx2wbdm5np0s16yd68fc0isqnm8qs6l9pmlrlyf9gm87j";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest colorama ];
|
||||
checkPhase = ''
|
||||
pytest -k 'not test_time_rotation_reopening'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/Delgan/loguru;
|
||||
description = "Python logging made (stupidly) simple";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jakewaksbaum ];
|
||||
};
|
||||
}
|
@ -532,6 +532,8 @@ in {
|
||||
|
||||
logster = callPackage ../development/python-modules/logster { };
|
||||
|
||||
loguru = callPackage ../development/python-modules/loguru { };
|
||||
|
||||
logzero = callPackage ../development/python-modules/logzero { };
|
||||
|
||||
macropy = callPackage ../development/python-modules/macropy { };
|
||||
|
Loading…
Reference in New Issue
Block a user