16 buildPythonPackage rec {
22 disabled = pythonOlder "3.7";
24 src = fetchFromGitHub {
28 hash = "sha256-tccEzzs9TtFAZM9s43cskF9llc81Ng28LqedjLiE1m4=";
31 build-system = [ flit-core ];
35 pytest-xdist # massive speedup, not tested by upstream
39 ] ++ lib.optional (pythonOlder "3.10") exceptiongroup;
41 disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ "tests/test_multiprocessing.py" ];
45 # fails on some machine configurations
46 # AssertionError: assert '' != ''
51 ++ lib.optionals stdenv.hostPlatform.isDarwin [
52 "test_rotation_and_retention"
53 "test_rotation_and_retention_timed_file"
55 "test_await_complete_inheritance"
58 pythonImportsCheck = [ "loguru" ];
61 description = "Python logging made (stupidly) simple";
62 homepage = "https://github.com/Delgan/loguru";
63 changelog = "https://github.com/delgan/loguru/releases/tag/${version}";
64 license = lib.licenses.mit;
65 maintainers = with lib.maintainers; [