2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, portalocker
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "concurrent-log-handler";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.9.24";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-APVkbG5fb8Y2VFNvO0Sqorm3SyMkXhT1JY7ZHOOdEuI=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2022-02-20 05:27:41 +00:00
|
|
|
homepage = "https://pypi.org/project/concurrent-log-handler";
|
2021-05-20 23:08:51 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.chia.members;
|
|
|
|
};
|
|
|
|
}
|