2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, portalocker
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "concurrent-log-handler";
|
2023-04-12 12:48:02 +00:00
|
|
|
version = "0.9.22";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-04-12 12:48:02 +00:00
|
|
|
hash = "sha256-+PnlhCkrnzpLR3VwGP3xr8i/lynxiKW2dQrNih5+P8k=";
|
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;
|
|
|
|
};
|
|
|
|
}
|