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