Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / restview / default.nix
blobe5694e92137d5ac737dc9cba42ea680234f118fc
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , docutils
5 , readme-renderer
6 , packaging
7 , pygments
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "restview";
14   version = "3.0.1";
15   format = "setuptools";
17   disabled = pythonOlder "3.6";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-jBoXHBWdRtFdVWn3cCGCiIOhIdb5uvdY1kH8HlSwWuU=";
22   };
24   propagatedBuildInputs = [
25     docutils
26     readme-renderer
27     packaging
28     pygments
29   ];
31   nativeCheckInputs = [
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [
36     "restview"
37   ];
39   disabledTests = [
40     # Tests are comparing output
41     "rest_to_html"
42   ];
44   meta = with lib; {
45     description = "ReStructuredText viewer";
46     mainProgram = "restview";
47     homepage = "https://mg.pov.lt/restview/";
48     changelog = "https://github.com/mgedmin/restview/blob/${version}/CHANGES.rst";
49     license = licenses.gpl3Only;
50     maintainers = with maintainers; [ koral ];
51   };