[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48091] [PATCH v6 07/10] gnu: Add python-mkdocs.
From: |
Raghav Gururajan |
Subject: |
[bug#48091] [PATCH v6 07/10] gnu: Add python-mkdocs. |
Date: |
Sat, 1 May 2021 11:05:10 -0400 |
* gnu/packages/python-xyz.scm (python-mkdocs): New variable.
---
gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 504b8ec34a..88cd6b22f5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -289,6 +289,42 @@ during long operations.")
Python. It provides similar results to Lunr JavaScript.")
(license license:expat)))
+(define-public python-mkdocs
+ (package
+ (name "python-mkdocs")
+ (version "1.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (pypi-uri "mkdocs" version))
+ (sha256
+ (base32 "0fgv5zawpyyv0vd4j5y8m4h058lh9jkwfcm0xy4pg7dr09a1xdph"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; Requirements refer to a specific version of dependencies,
+ ;; which are too old. So we patch to refer to any later version.
+ (add-after 'unpack 'patch-requirements
+ (lambda _
+ (substitute* "setup.py"
+ (("==") ">=")))))))
+ (propagated-inputs
+ `(("python-click" ,python-click)
+ ("python-jinja2" ,python-jinja2)
+ ("python-livereload" ,python-livereload)
+ ("python-lunr" ,python-lunr)
+ ("python-markdown" ,python-markdown)
+ ("python-pyyaml" ,python-pyyaml)
+ ("python-tornado" ,python-tornado)))
+ (home-page "https://www.mkdocs.org")
+ (synopsis "Project documentation with Markdown")
+ (description "MkDocs is a static site generator that’s geared towards
+building project documentation. Documentation source files are written in
+Markdown, and configured with a single YAML configuration file.")
+ (license license:bsd-3)))
+
(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 <=
- [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, 2021/05/01
- [bug#48091] [PATCH v6 10/10] gnu: Add tgcli., Raghav Gururajan, 2021/05/01