about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/jaraco-logging/default.nix
blob: e6cd8e253dd8026e623b8abdf61e36b5e8dfb3bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, setuptools-scm
, tempora
, six
}:

buildPythonPackage rec {
  pname = "jaraco-logging";
  version = "3.1.2";
  format = "pyproject";

  src = fetchPypi {
    pname = "jaraco.logging";
    inherit version;
    hash = "sha256-k6cLizdnd5rWx7Vu6YV5ztd7afFqu8rnSfYsLFnmeTE=";
  };

  pythonNamespaces = [ "jaraco" ];

  nativeBuildInputs = [
    setuptools
    setuptools-scm
  ];

  propagatedBuildInputs = [
    tempora
    six
  ];

  # 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";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}