Files
nixpkgs/pkgs/development/python-modules/concurrent-log-handler/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

35 lines
798 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 = {
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 = lib.licenses.asl20;
maintainers = [ lib.maintainers.bbjubjub ];
};
}