Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 24 lines 608 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy27, pytest, colorama }: 2 3buildPythonPackage rec { 4 pname = "loguru"; 5 version = "0.3.0"; 6 7 disabled = isPy27; 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "1b2phizcx2wbdm5np0s16yd68fc0isqnm8qs6l9pmlrlyf9gm87j"; 11 }; 12 13 checkInputs = [ pytest colorama ]; 14 checkPhase = '' 15 pytest -k 'not test_time_rotation_reopening' 16 ''; 17 18 meta = with lib; { 19 homepage = https://github.com/Delgan/loguru; 20 description = "Python logging made (stupidly) simple"; 21 license = licenses.mit; 22 maintainers = with maintainers; [ jakewaksbaum ]; 23 }; 24}