Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 24 lines 821 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, isPy27, colorama, pytestCheckHook }: 2 3buildPythonPackage rec { 4 pname = "loguru"; 5 version = "0.4.1"; 6 7 disabled = isPy27; 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "a6101fd435ac89ba5205a105a26a6ede9e4ddbb4408a6e167852efca47806d11"; 11 }; 12 13 checkInputs = [ pytestCheckHook colorama ]; 14 15 disabledTests = [ "test_time_rotation_reopening" "test_file_buffering" ] 16 ++ stdenv.lib.optionals stdenv.isDarwin [ "test_rotation_and_retention" "test_rotation_and_retention_timed_file" "test_renaming" "test_await_complete_inheritance" ]; 17 18 meta = with stdenv.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}