1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 setuptools,
7 setuptools-scm,
8 tempora,
9}:
10
11buildPythonPackage rec {
12 pname = "jaraco-logging";
13 version = "3.3.0";
14 format = "pyproject";
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchPypi {
19 pname = "jaraco.logging";
20 inherit version;
21 hash = "sha256-9KfPusuGqDTCiGwBo7UrxM3icowdlxfEnU3OHWJI8Hs=";
22 };
23
24 pythonNamespaces = [ "jaraco" ];
25
26 nativeBuildInputs = [
27 setuptools
28 setuptools-scm
29 ];
30
31 propagatedBuildInputs = [ tempora ];
32
33 # test no longer packaged with pypi
34 doCheck = false;
35
36 pythonImportsCheck = [ "jaraco.logging" ];
37
38 meta = with lib; {
39 description = "Support for Python logging facility";
40 homepage = "https://github.com/jaraco/jaraco.logging";
41 changelog = "https://github.com/jaraco/jaraco.logging/blob/v${version}/NEWS.rst";
42 license = licenses.mit;
43 maintainers = [ ];
44 };
45}