fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
45 lines
924 B
Nix
45 lines
924 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
setuptools,
|
|
setuptools-scm,
|
|
tempora,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jaraco-logging";
|
|
version = "3.3.0";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
pname = "jaraco.logging";
|
|
inherit version;
|
|
hash = "sha256-9KfPusuGqDTCiGwBo7UrxM3icowdlxfEnU3OHWJI8Hs=";
|
|
};
|
|
|
|
pythonNamespaces = [ "jaraco" ];
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [ tempora ];
|
|
|
|
# test no longer packaged with pypi
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "jaraco.logging" ];
|
|
|
|
meta = with lib; {
|
|
description = "Support for Python logging facility";
|
|
homepage = "https://github.com/jaraco/jaraco.logging";
|
|
changelog = "https://github.com/jaraco/jaraco.logging/blob/v${version}/NEWS.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|