Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / concurrent-log-handler / default.nix
blob53586d9bb0c8aa9dca0ff4076a376079e616cb07
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , hatchling
5 , portalocker
6 }:
8 buildPythonPackage rec {
9   pname = "concurrent-log-handler";
10   version = "0.9.25";
11   pyproject = true;
13   src = fetchPypi {
14     pname = "concurrent_log_handler";
15     inherit version;
16     hash = "sha256-HixvAhQU4hTT2sZhB4lIJ6PnjbYwGDBKTynlW6VJrCI=";
17   };
19   build-system = [
20     hatchling
21   ];
23   dependencies = [
24     portalocker
25   ];
27   pythonImportsCheck = [
28     "concurrent_log_handler"
29   ];
31   doCheck = false; # upstream has no tests
33   meta = with lib; {
34     description = "Python logging handler that allows multiple processes to safely write to the same log file concurrently";
35     homepage = "https://github.com/Preston-Landers/concurrent-log-handler";
36     license = licenses.asl20;
37     maintainers = [ maintainers.bbjubjub ];
38   };