1{ lib, buildPythonPackage, fetchFromGitHub, sphinx }:
2
3buildPythonPackage rec {
4 pname = "python_docs_theme";
5 version = "2023.7";
6 format = "flit";
7
8 src = fetchFromGitHub {
9 owner = "python";
10 repo = "python-docs-theme";
11 rev = "refs/tags/${version}";
12 sha256 = "sha256-43/TlgYm7Q4ZtY25MiLU9fd1atDmiDUeUK6AYfDfmag=";
13 };
14
15 propagatedBuildInputs = [ sphinx ];
16
17 pythonImportsCheck = [ "python_docs_theme" ];
18
19 meta = with lib; {
20 homepage = "https://github.com/python/python-docs-theme";
21 description = "Sphinx theme for CPython project";
22 license = licenses.psfl;
23 maintainers = with maintainers; [ kaction ];
24 };
25}