[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48091] [PATCH v6 09/10] gnu: Add python-mkdocs-material.
From: |
Raghav Gururajan |
Subject: |
[bug#48091] [PATCH v6 09/10] gnu: Add python-mkdocs-material. |
Date: |
Sat, 1 May 2021 11:05:12 -0400 |
* 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 f1c8506636..a2629381dc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -348,6 +348,40 @@ Markdown, and 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")
--
2.31.1
- [bug#48091] [PATCH v6 01/10] gnu: Add python-colorful., Raghav Gururajan, 2021/05/01
- [bug#48091] [PATCH v6 03/10] gnu: Add python-pytest-click., Raghav Gururajan, 2021/05/01
- [bug#48091] [PATCH v6 05/10] gnu: Add python-nltk@3.4., Raghav Gururajan, 2021/05/01
- [bug#48091] [PATCH v6 06/10] gnu: Add python-lunr., Raghav Gururajan, 2021/05/01
- [bug#48091] [PATCH v6 02/10] gnu: Add python-yaspin., Raghav Gururajan, 2021/05/01
- [bug#48091] [PATCH v6 04/10] gnu: python-nltk: Update to 3.6.2., Raghav Gururajan, 2021/05/01
- [bug#48091] [PATCH v6 07/10] gnu: Add python-mkdocs., Raghav Gururajan, 2021/05/01
- [bug#48091] [PATCH v6 08/10] gnu: Add python-pymdown-extensions., Raghav Gururajan, 2021/05/01
- [bug#48091] [PATCH v6 09/10] gnu: Add python-mkdocs-material.,
Raghav Gururajan <=
- [bug#48091] [PATCH v6 10/10] gnu: Add tgcli., Raghav Gururajan, 2021/05/01