11 buildPythonPackage rec {
12 pname = "sphinx-rtd-dark-mode";
16 src = fetchFromGitHub {
18 repo = "sphinx_rtd_dark_mode";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-N5KG2Wqn9wfGNY3VH4FnBce1aZUbnvVmwD10Loe0Qn4=";
23 build-system = [ setuptools ];
25 dependencies = [ sphinx-rtd-theme ];
32 pytestFlagsArray = [ "tests/build.py" ];
34 pythonImportsCheck = [ "sphinx_rtd_dark_mode" ];
37 description = "Adds a toggleable dark mode to the Read the Docs theme for Sphinx";
38 homepage = "https://github.com/MrDogeBro/sphinx_rtd_dark_mode";
39 changelog = "https://github.com/MrDogeBro/sphinx_rtd_dark_mode/releases/tag/v${version}";
40 maintainers = with maintainers; [ wolfgangwalther ];
41 license = licenses.mit;