about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/debianbts/default.nix
blob: b2c2b271d61d595cf2d883d623a06ec7cd63adec (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
{ lib
, buildPythonPackage
, fetchPypi
, pysimplesoap
, pytest , pytest-xdist
, pythonOlder
, setuptools
}:

buildPythonPackage rec {
  pname = "python-debianbts";
  version = "4.0.1";
  format = "pyproject";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "b0817d593ccdfb58a5f37b8cb3873bd0b2268b434f2798dc75b206d7550fdf04";
  };

  buildInputs = [ setuptools ];
  propagatedBuildInputs = [ pysimplesoap ];
  checkInputs = [
    pytest
    pytest-xdist
  ];

  meta = with lib; {
    description = "Python interface to Debian's Bug Tracking System";
    homepage = "https://github.com/venthur/python-debianbts";
    downloadPage = "https://pypi.org/project/python-debianbts/";
    changelog = "https://github.com/venthur/python-debianbts/blob/${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = [ maintainers.nicoo ];
  };
}