From 357a4c1870992a71f64033a90a09a1a8cb32c210 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 24 Jul 2022 13:09:35 +0200 Subject: [PATCH] gnu: Add python-mkdocs-markdownextradata-plugin. * gnu/packages/python-xyz.scm (python-mkdocs-markdownextradata-plugin): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1822eeea36..808ca1c8db 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -693,6 +693,32 @@ (define-public python-mkdocs configured with a single YAML configuration file.") (license license:bsd-3))) +(define-public python-mkdocs-markdownextradata-plugin + (package + (name "python-mkdocs-markdownextradata-plugin") + (version "0.2.5") + (source (origin + ;; Use git, as there are some test files missing from the PyPI release, + ;; see https://github.com/rosscdh/mkdocs-markdownextradata-plugin/issues/41. + (method git-fetch) + (uri (git-reference + (url "https://github.com/rosscdh/mkdocs-markdownextradata-plugin") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1a3868s9m7pzyfncpjbjsa9vw5nihssl2v47pxj7h6qa67kvlk3g")))) + (build-system python-build-system) + (native-inputs (list python-pytest)) + (propagated-inputs (list python-mkdocs python-pyyaml)) + (home-page "https://github.com/rosscdh/mkdocs-markdownextradata-plugin/") + (synopsis "Inject mkdocs.yml extra variables into the MkDocs markdown +template") + (description + "This package provides a MkDocs plugin that injects the mkdocs.yml extra +variables into the markdown template") + (license license:expat))) + (define-public python-pymdown-extensions (package (name "python-pymdown-extensions")