9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
32 lines
701 B
Nix
32 lines
701 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, portalocker
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "concurrent-log-handler";
|
|
version = "0.9.24";
|
|
|
|
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 = teams.chia.members;
|
|
};
|
|
}
|