Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / jaraco-logging / default.nix
blob5e5e60b396241ac32db0f9907edf2c85536fe30e
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , setuptools
6 , setuptools-scm
7 , tempora
8 }:
10 buildPythonPackage rec {
11   pname = "jaraco-logging";
12   version = "3.2.0";
13   format = "pyproject";
15   disabled = pythonOlder "3.8";
17   src = fetchPypi {
18     pname = "jaraco.logging";
19     inherit version;
20     hash = "sha256-X8ssPxI1HU1QN1trYPOJnFg3sjLxotj/y6/17NK3M+c=";
21   };
23   pythonNamespaces = [
24     "jaraco"
25   ];
27   nativeBuildInputs = [
28     setuptools
29     setuptools-scm
30   ];
32   propagatedBuildInputs = [
33     tempora
34   ];
36   # test no longer packaged with pypi
37   doCheck = false;
39   pythonImportsCheck = [
40     "jaraco.logging"
41   ];
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   };