Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

35 lines
800 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
portalocker,
}:
buildPythonPackage rec {
pname = "concurrent-log-handler";
version = "0.9.28";
pyproject = true;
src = fetchPypi {
pname = "concurrent_log_handler";
inherit version;
hash = "sha256-TMJ5abNCAjm9FTd5Jm9A2XE+zoFOMSt6p1POYsbqzbg=";
};
build-system = [ hatchling ];
dependencies = [ 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://github.com/Preston-Landers/concurrent-log-handler";
license = licenses.asl20;
maintainers = [ maintainers.bbjubjub ];
};
}