mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
34 lines
732 B
Nix
34 lines
732 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, portalocker
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "concurrent-log-handler";
|
|
version = "0.9.24";
|
|
format = "setuptools";
|
|
|
|
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 = [ maintainers.lourkeur ];
|
|
};
|
|
}
|