[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48091] [PATCH 10/11] gnu: Add python-mkdocs-material.
From: |
Raghav Gururajan |
Subject: |
[bug#48091] [PATCH 10/11] gnu: Add python-mkdocs-material. |
Date: |
Wed, 28 Apr 2021 19:19:33 -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 87c4d16cb3..b94f03f928 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -349,6 +349,40 @@ configuration file.")
(description "Extension pack for Python Markdown.")
(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 "Material for MkDocs is a theme for MkDocs, a static site
+generator geared towards (technical) project documentation.")
+ (license license:expat)))
+
(define-public python-slixmpp
(package
(name "python-slixmpp")
--
2.31.1
- [bug#48091] [PATCH 0/11]: TgCli, Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 01/11] gnu: Add python-colorful., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 02/11] gnu: Add python-yaspin., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 05/11] gnu: python-nltk: Add missing inputs., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 06/11] gnu: Add python-nltk@3.4., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 04/11] gnu: python-nltk: Update to 3.6.2., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 07/11] gnu: Add python-lunr., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 08/11] gnu: Add python-mkdocs., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 09/11] gnu: Add python-pymdown-extensions., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 03/11] gnu: Add python-pytest-click., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 10/11] gnu: Add python-mkdocs-material.,
Raghav Gururajan <=
- [bug#48091] [PATCH 11/11] gnu: Add tgcli., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH v2 01/11] gnu: Add python-colorful., Raghav Gururajan, 2021/04/30
- [bug#48091] [PATCH v2 06/11] gnu: Add python-nltk@3.4., Raghav Gururajan, 2021/04/30