Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 24 lines 608 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy27, pytest, colorama }: 2 3buildPythonPackage rec { 4 pname = "loguru"; 5 version = "0.3.2"; 6 7 disabled = isPy27; 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "0apd3wcjbyhwzgw0fgzzn4dcgy10pqa8f1vf58d4hmszxvyqn4z3"; 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}