1{ lib
2, buildPythonPackage
3, fetchPypi
4, nix-update-script
5, pysimplesoap
6, pytest , pytest-xdist
7, pythonOlder
8, setuptools
9}:
10
11buildPythonPackage rec {
12 pname = "python-debianbts";
13 version = "4.0.1";
14 format = "pyproject";
15
16 disabled = pythonOlder "3.7";
17 passthru.updateScript = nix-update-script { };
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "b0817d593ccdfb58a5f37b8cb3873bd0b2268b434f2798dc75b206d7550fdf04";
22 };
23
24 buildInputs = [ setuptools ];
25 propagatedBuildInputs = [ pysimplesoap ];
26 checkInputs = [
27 pytest
28 pytest-xdist
29 ];
30
31 meta = with lib; {
32 description = "Python interface to Debian's Bug Tracking System";
33 homepage = "https://github.com/venthur/python-debianbts";
34 downloadPage = "https://pypi.org/project/python-debianbts/";
35 changelog = "https://github.com/venthur/python-debianbts/blob/${version}/CHANGELOG.md";
36 license = licenses.mit;
37 maintainers = [ maintainers.nicoo ];
38 };
39}