nixpkgs/pkgs/development/python-modules/concurrent-log-handler/default.nix

33 lines
701 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, portalocker
}:
buildPythonPackage rec {
pname = "concurrent-log-handler";
version = "0.9.20";
src = fetchPypi {
inherit pname version;
hash = "sha256-n6KtYUdKE3tWQnAr0z8hgVWYqsuh51E5s3zrLO3aj58=";
};
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;
};
}