diff options
| author | Dmitry Bogatov <serenity@kaction.cc> | 2023-05-06 21:20:28 -0400 |
|---|---|---|
| committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2023-06-03 16:43:46 +0200 |
| commit | b15a887b59066953745fb10fc776d17bd361841a (patch) | |
| tree | 50b0cc03556dca105dbd3fdc9d4ed948a823f7fe /pkgs/development/python-modules/python_docs_theme | |
| parent | 5863385173868bd8c06531717553748b674f2c80 (diff) | |
python3.pkgs.python_docs_theme: init at 2023.3.1
Diffstat (limited to 'pkgs/development/python-modules/python_docs_theme')
| -rw-r--r-- | pkgs/development/python-modules/python_docs_theme/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
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 ]; + }; +} |
