Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python3Packages.loguru: init at 0.3.0
(cherry picked from commit a96bab4)
- Loading branch information
1 parent
5c0abc5
commit 2a0ca05
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters