2022-03-31 01:05:17 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder, sphinx }:
|
2017-12-17 03:12:34 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinx-jinja";
|
2022-07-06 21:37:00 +02:00
|
|
|
version = "2.0.2";
|
2022-03-31 01:05:17 +02:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2017-12-17 03:12:34 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-03 01:48:06 +01:00
|
|
|
hash = "sha256-xiMrWaiUE5dwvh3G0LAKN55CiM54FXkE4fhHPeo+Bxg=";
|
2017-12-17 03:12:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ sphinx ];
|
|
|
|
|
2022-03-31 01:05:17 +02:00
|
|
|
# upstream source is not updated to 2.0.X and pypi does not contain tests
|
|
|
|
doCheck = false;
|
2017-12-17 03:12:34 +01:00
|
|
|
|
2022-03-31 01:05:17 +02:00
|
|
|
pythonImportsCheck = [ "sphinx_jinja" ];
|
2017-12-17 03:12:34 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Sphinx extension to include jinja templates in documentation";
|
2022-03-31 01:05:17 +02:00
|
|
|
homepage = "https://github.com/tardyp/sphinx-jinja";
|
2021-05-14 16:00:41 +02:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-12-17 03:12:34 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|