blob: 1905659b25f0b1fc01219720a4460698acb1227b (
plain) (
blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, pytestCheckHook
, sphinx
}:
buildPythonPackage rec {
pname = "sphinxcontrib-jquery";
version = "3.0.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "sphinx-contrib";
repo = "jquery";
rev = "refs/tags/v${version}";
hash = "sha256-argG+jMUqLiWo4lKWAmHmUxotHl+ddJuJZ/zcUl9u5Q=";
};
nativeBuildInputs = [
flit-core
];
pythonImportsCheck = [
"sphinxcontrib.jquery"
];
nativeCheckInputs = [
pytestCheckHook
sphinx
];
meta = with lib; {
description = "Extension to include jQuery on newer Sphinx releases";
longDescription = ''
A sphinx extension that ensures that jQuery is installed for use
in Sphinx themes or extensions
'';
homepage = "https://github.com/sphinx-contrib/jquery";
changelog = "https://github.com/sphinx-contrib/jquery/blob/v${version}/CHANGES.rst";
license = licenses.bsd0;
maintainers = with maintainers; [ kaction ];
};
}
|