summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sphinx-jinja/default.nix
blob: fe4cfb563815f816a7faa2d573f31533bae949b0 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  sphinx,
}:

buildPythonPackage rec {
  pname = "sphinx-jinja";
  version = "2.0.2";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-xiMrWaiUE5dwvh3G0LAKN55CiM54FXkE4fhHPeo+Bxg=";
  };

  propagatedBuildInputs = [ sphinx ];

  # upstream source is not updated to 2.0.X and pypi does not contain tests
  doCheck = false;

  pythonImportsCheck = [ "sphinx_jinja" ];

  meta = {
    description = "Sphinx extension to include jinja templates in documentation";
    homepage = "https://github.com/tardyp/sphinx-jinja";
    maintainers = [ ];
    license = lib.licenses.mit;
  };
}