nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 sphinx,
6}:
7
8buildPythonPackage rec {
9 pname = "sphinx-jinja";
10 version = "2.0.2";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-xiMrWaiUE5dwvh3G0LAKN55CiM54FXkE4fhHPeo+Bxg=";
16 };
17
18 propagatedBuildInputs = [ sphinx ];
19
20 # upstream source is not updated to 2.0.X and pypi does not contain tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "sphinx_jinja" ];
24
25 meta = {
26 description = "Sphinx extension to include jinja templates in documentation";
27 homepage = "https://github.com/tardyp/sphinx-jinja";
28 maintainers = [ ];
29 license = lib.licenses.mit;
30 };
31}