about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/concurrent-log-handler/default.nix
blob: 85ee8bda114e612650fd1858f4881f695214d951 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchPypi
, portalocker
}:

buildPythonPackage rec {
  pname = "concurrent-log-handler";
  version = "0.9.24";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-APVkbG5fb8Y2VFNvO0Sqorm3SyMkXhT1JY7ZHOOdEuI=";
  };

  propagatedBuildInputs = [
    portalocker
  ];

  pythonImportsCheck = [
    "concurrent_log_handler"
  ];

  doCheck = false; # upstream has no tests

  meta = with lib; {
    description = "Python logging handler that allows multiple processes to safely write to the same log file concurrently";
    homepage = "https://pypi.org/project/concurrent-log-handler";
    license = licenses.asl20;
    maintainers = [ maintainers.bbjubjub ];
  };
}