From 13a9f7077602127b4e5d41049710b2e42caeca56 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 24 Jan 2026 13:39:28 +0000 Subject: [PATCH] gnu: Add python-mkdocs-get-deps. * gnu/packages/python-xyz.scm (python-mkdocs-get-deps): New variable. Change-Id: I69821fdc701ac4120181370e1521fd659d84867a --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 99987bec91b..81c10ba58b7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3510,6 +3510,36 @@ documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file.") (license license:bsd-3))) +(define-public python-mkdocs-get-deps + (package + (name "python-mkdocs-get-deps") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mkdocs/get-deps") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0f5ibliw1ccqgydsin27bb7sl7haca09s24xywhmg1cqhm4nda0d")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest + python-hatchling)) + (propagated-inputs + (list python-mergedeep + python-platformdirs + python-pyyaml)) + (home-page "https://github.com/mkdocs/get-deps") + (synopsis "MkDocs extension to list dependencies according to a mkdocs.yml") + (description + "This package provides an @code{MkDocs} extension that lists all dependencies +according to a mkdocs.yml file. This command guesses the Python dependencies +that a MkDocs site requires in order to build. It simply prints the PyPI +packages that need to be installed.") + (license license:expat))) + (define-public python-mkdocs-markdownextradata-plugin (package (name "python-mkdocs-markdownextradata-plugin")