guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: gnu: Add python-mkdocs-markdownextradata-plugin.


From: guix-commits
Subject: 01/06: gnu: Add python-mkdocs-markdownextradata-plugin.
Date: Wed, 10 Aug 2022 04:03:11 -0400 (EDT)

htgoebel pushed a commit to branch master
in repository guix.

commit 357a4c1870992a71f64033a90a09a1a8cb32c210
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Sun Jul 24 13:09:35 2022 +0200

    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 @@ project documentation.  Documentation source files are 
written in Markdown, and
 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]