python3Packages.loguru: init at 0.3.0

This commit is contained in:
Jake Waksbaum 2019-07-02 19:20:21 -07:00
parent 4363214bd7
commit a96bab416a
No known key found for this signature in database
GPG Key ID: 161DAF1F5CE43352
2 changed files with 26 additions and 0 deletions

View 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 ];
};
}

View File

@ -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 { };