87f9c27ba9
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
32 lines
701 B
Nix
32 lines
701 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, portalocker
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "concurrent-log-handler";
|
|
version = "0.9.22";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-+PnlhCkrnzpLR3VwGP3xr8i/lynxiKW2dQrNih5+P8k=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|