1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 sphinx,
6 packaging,
7 flit-core,
8 sphinx-notfound-page,
9}:
10
11buildPythonPackage rec {
12 pname = "pallets-sphinx-themes";
13 version = "2.3.0";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "pallets";
18 repo = "pallets-sphinx-themes";
19 tag = version;
20 hash = "sha256-+etmWzjCiYbM8cHSnJr0tHs3DpvozNYShQ6x60UADS4=";
21 };
22
23 build-system = [
24 flit-core
25 ];
26
27 dependencies = [
28 packaging
29 sphinx
30 sphinx-notfound-page
31 ];
32
33 pythonImportsCheck = [ "pallets_sphinx_themes" ];
34
35 meta = {
36 homepage = "https://github.com/pallets/pallets-sphinx-themes";
37 description = "Sphinx theme for Pallets projects";
38 license = lib.licenses.bsd3;
39 maintainers = with lib.maintainers; [ kaction ];
40 };
41}