python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / concurrent-log-handler / default.nix
blob384beaff25dbbf24a2fb4581eaf74066c9e0a520
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   hatchling,
6   portalocker,
7 }:
9 buildPythonPackage rec {
10   pname = "concurrent-log-handler";
11   version = "0.9.25";
12   pyproject = true;
14   src = fetchPypi {
15     pname = "concurrent_log_handler";
16     inherit version;
17     hash = "sha256-HixvAhQU4hTT2sZhB4lIJ6PnjbYwGDBKTynlW6VJrCI=";
18   };
20   build-system = [ hatchling ];
22   dependencies = [ portalocker ];
24   pythonImportsCheck = [ "concurrent_log_handler" ];
26   doCheck = false; # upstream has no tests
28   meta = with lib; {
29     description = "Python logging handler that allows multiple processes to safely write to the same log file concurrently";
30     homepage = "https://github.com/Preston-Landers/concurrent-log-handler";
31     license = licenses.asl20;
32     maintainers = [ maintainers.bbjubjub ];
33   };