mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-mkdocs-material.
* gnu/packages/python-xyz.scm (python-mkdocs-material): New variable.
This commit is contained in:
parent
5b8e9eec08
commit
255ff5ee28
1 changed files with 34 additions and 0 deletions
|
@ -349,6 +349,40 @@ configured with a single YAML configuration file.")
|
||||||
Markdown. All extensions are found under the module namespace of pymdownx.")
|
Markdown. All extensions are found under the module namespace of pymdownx.")
|
||||||
(license license:expat)))
|
(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
|
(define-public python-slixmpp
|
||||||
(package
|
(package
|
||||||
(name "python-slixmpp")
|
(name "python-slixmpp")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue