[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: Add python-mkdocs-material.
From: |
guix-commits |
Subject: |
09/11: gnu: Add python-mkdocs-material. |
Date: |
Sun, 2 May 2021 09:06:41 -0400 (EDT) |
raghavgururajan pushed a commit to branch master
in repository guix.
commit 255ff5ee289d62dd91dec7eaab2d93ad540caeff
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Wed Apr 28 16:39:55 2021 -0400
gnu: Add python-mkdocs-material.
* gnu/packages/python-xyz.scm (python-mkdocs-material): New variable.
---
gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5e6579a..ab12c3b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -349,6 +349,40 @@ configured with a single YAML configuration file.")
Markdown. All extensions are found under the module namespace of pymdownx.")
(license license:expat)))
+(define-public python-mkdocs-material
+ (package
+ (name "python-mkdocs-material")
+ (version "7.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (pypi-uri "mkdocs-material" version))
+ (sha256
+ (base32 "0ci9xiasq9nfn09v11m7p49vzazdbgslw7rpzjd6y3hsmn9vljz3"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; Requirement mkdocs-material-extensions
+ ;; in-turn requires mkdocs-material. This causes
+ ;; circular dependency, so we remove this requirement.
+ (add-after 'unpack 'patch-requirements
+ (lambda _
+ (substitute* "requirements.txt"
+ (("mkdocs-material-extensions.*$") "")))))))
+ (propagated-inputs
+ `(("python-markdown" ,python-markdown)
+ ("python-mkdocs" ,python-mkdocs)
+ ("python-pygments" ,python-pygments)
+ ("python-pymdown-extensions"
+ ,python-pymdown-extensions)))
+ (home-page "https://squidfunk.github.io/mkdocs-material/")
+ (synopsis "Material Design theme for MkDocs")
+ (description "This package provides a theme plugin for the static site
+generator MkDocs.")
+ (license license:expat)))
+
(define-public python-slixmpp
(package
(name "python-slixmpp")
- 02/11: gnu: Add python-yaspin., (continued)
- 02/11: gnu: Add python-yaspin., guix-commits, 2021/05/02
- 01/11: gnu: Add python-colorful., guix-commits, 2021/05/02
- 03/11: gnu: Add python-pytest-click., guix-commits, 2021/05/02
- 04/11: gnu: python-nltk: Update to 3.6.2., guix-commits, 2021/05/02
- 05/11: gnu: Add python-nltk@3.4., guix-commits, 2021/05/02
- 11/11: gnu: gupnp: Add gsettings-desktop-schemas for tests., guix-commits, 2021/05/02
- 06/11: gnu: Add python-lunr., guix-commits, 2021/05/02
- 07/11: gnu: Add python-mkdocs., guix-commits, 2021/05/02
- 08/11: gnu: Add python-pymdown-extensions., guix-commits, 2021/05/02
- 10/11: gnu: Add tgcli., guix-commits, 2021/05/02
- 09/11: gnu: Add python-mkdocs-material.,
guix-commits <=