python3.pkgs.python_docs_theme: init at 2023.3.1

This commit is contained in:
Dmitry Bogatov 2023-05-06 21:20:28 -04:00 committed by Frederik Rietdijk
parent 5863385173
commit b15a887b59
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchFromGitHub, sphinx }:
buildPythonPackage rec {
pname = "python_docs_theme";
version = "2023.3.1";
format = "flit";
src = fetchFromGitHub {
owner = "python";
repo = "python-docs-theme";
rev = version;
sha256 = "sha256-WyO5Xc67k5ExB4eCFd17sZCBMaV5djle9BAM0tn5CPc=";
};
propagatedBuildInputs = [ sphinx ];
pythonImportsCheck = [ "python_docs_theme" ];
meta = with lib; {
homepage = "https://github.com/python/python-docs-theme";
description = "Sphinx theme for CPython project";
license = licenses.psfl;
maintainers = with maintainers; [ kaction ];
};
}

View File

@ -7233,6 +7233,8 @@ self: super: with self; {
pallets-sphinx-themes = callPackage ../development/python-modules/pallets-sphinx-themes { };
python_docs_theme = callPackage ../development/python-modules/python_docs_theme { };
pamela = callPackage ../development/python-modules/pamela { };
pamqp = callPackage ../development/python-modules/pamqp { };