diff options
| author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-06-03 18:01:49 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-03 18:01:49 +0000 |
| commit | d8ea5b943532e9cdf1e35a3706087af48362d98a (patch) | |
| tree | 52bee15c633285047db79e9750dd97073b8a0921 /pkgs/development/python-modules/python_docs_theme | |
| parent | e74dab4d35036037d7d7bd1403725962ba88a151 (diff) | |
| parent | f47f0a525cac079318e62fef27439f17afa18e7a (diff) | |
Merge master into staging-next
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 ]; + }; +} |
