From b15a887b59066953745fb10fc776d17bd361841a Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Sat, 6 May 2023 21:20:28 -0400 Subject: python3.pkgs.python_docs_theme: init at 2023.3.1 --- .../python-modules/python_docs_theme/default.nix | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/python_docs_theme/default.nix (limited to 'pkgs/development/python-modules/python_docs_theme') diff --git a/pkgs/development/python-modules/python_docs_theme/default.nix b/pkgs/development/python-modules/python_docs_theme/default.nix new file mode 100644 index 000000000000..4e7f9ff84884 --- /dev/null +++ b/pkgs/development/python-modules/python_docs_theme/default.nix @@ -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 ]; + }; +} -- cgit v1.2.3