1{ lib
2, buildPythonPackage
3, fetchPypi
4, portalocker
5}:
6
7buildPythonPackage rec {
8 pname = "concurrent-log-handler";
9 version = "0.9.20";
10
11 src = fetchPypi {
12 inherit pname version;
13 hash = "sha256-n6KtYUdKE3tWQnAr0z8hgVWYqsuh51E5s3zrLO3aj58=";
14 };
15
16 propagatedBuildInputs = [
17 portalocker
18 ];
19
20 pythonImportsCheck = [
21 "concurrent_log_handler"
22 ];
23
24 doCheck = false; # upstream has no tests
25
26 meta = with lib; {
27 description = "Python logging handler that allows multiple processes to safely write to the same log file concurrently";
28 homepage = "https://pypi.org/project/concurrent-log-handler";
29 license = licenses.asl20;
30 maintainers = teams.chia.members;
31 };
32}