Skip to content

Instantly share code, notes, and snippets.

@reyman
Last active March 7, 2024 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reyman/9d4c5ed999831641cbb537669d003093 to your computer and use it in GitHub Desktop.
Save reyman/9d4c5ed999831641cbb537669d003093 to your computer and use it in GitHub Desktop.
Latest mkdocs material for guix
(use-modules
(guix packages)
(guix download)
(guix profiles)
(gnu packages python-build)
(gnu packages python-web)
(gnu packages python-check)
(gnu packages check)
(guix build-system python)
(guix build-system pyproject)
(guix licenses)
(guix gexp)
(gnu packages version-control)
(gnu packages python-xyz)
)
(define-public python-hatchling
(package
(name "python-hatchling")
(version "1.21.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "hatchling" version))
(sha256
(base32 "1g40g68vzfakddd9f0psp9jkfqy3v3la4zs5g127ski2792l195v"))))
(build-system pyproject-build-system)
(arguments
(list #:tests? #f ;to keep dependencies to a minimum
#:phases #~(modify-phases %standard-phases
(add-before 'build 'add-src-to-path
;; Hatchling uses itself to build itself.
(lambda _
(setenv "PYTHONPATH" "src"))))))
(propagated-inputs (list python-editables
python-packaging
python-pathspec
python-pluggy
python-tomli
python-trove-classifiers))
(home-page "")
(synopsis "Modern, extensible Python build backend")
(description "Modern, extensible Python build backend")
(license #f)))
(define-public python-hatch-nodejs-version
(package
(name "python-hatch-nodejs-version")
(version "0.3.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "hatch_nodejs_version" version))
(sha256
(base32 "0k5m2pg5ijdri5j88mhcj2vmg5ij1gy9n75hpfxm07mp2zc2hy4a"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-hatchling python-pytest))
(home-page "")
(synopsis "Hatch plugin for versioning from a package.json file")
(description "Hatch plugin for versioning from a package.json file")
(license #f)))
(define-public python-paginate
(package
(name "python-paginate")
(version "0.5.6")
(source
(origin
(method url-fetch)
(uri (pypi-uri "paginate" version))
(sha256
(base32 "0bdgg269x4pihancwnwl39m7djgqv7yh93b4w6kpg09rm6v0fq2y"))))
(build-system pyproject-build-system)
(home-page "https://github.com/Signum/paginate")
(synopsis "Divides large result sets into pages for easier browsing")
(description "Divides large result sets into pages for easier browsing")
(license #f)))
(define-public python-trove-classifiers
(package
(name "python-trove-classifiers")
(version "2024.3.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "trove-classifiers" version))
(sha256
(base32 "1p1zcxwzvh1sv0v6a28ybc91vs40n4q876986rrnpy3zqvwxyznz"))))
(build-system pyproject-build-system)
(arguments (list #:build-backend "setuptools.build_meta"
#:tests? #f)) ;keep dependencies to a minimum
(native-inputs (list python-wheel))
(home-page "https://github.com/pypa/trove-classifiers")
(synopsis "Canonical source for classifiers on PyPI (pypi.org).")
(description "Canonical source for classifiers on @code{PyPI} (pypi.org).")
(license #f)))
(define-public python-mkdocs-material-extensions
(package
(name "python-mkdocs-material-extensions")
(version "1.3.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "mkdocs_material_extensions" version))
(sha256
(base32 "0hw4jaqwlj5vn9ghwb3v3w79fayicyj5h0wngwjnixc8x8f53j8h"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f)) ;keep dependencies to a minimum
(propagated-inputs (list python-hatchling
python-pytest
python-markdown-3-5-2
python-pytest-cov
python-coverage
python-beautifulsoup4
))
(home-page "")
(synopsis "Extension pack for Python Markdown and MkDocs Material.")
(description
"Extension pack for Python Markdown and @code{MkDocs} Material.")
(license #f)))
(define-public python-pymdown-extensions-10-2
(package
(name "python-pymdown-extensions")
(version "10.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pymdown_extensions" version))
(sha256
(base32 "1svd0dmmzpn1a49qx30a4my10cf9jm00ls9bdfggari5yrf4vmn0"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-markdown-3-5-2
python-pygments-2-17-2
python-pyyaml
python-hatchling
python-pytest))
(home-page "")
(synopsis "Extension pack for Python Markdown.")
(description "Extension pack for Python Markdown.")
(license #f)))
(define-public python-pygments-2-17-2
(package
(name "python-pygments")
(version "2.17.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pygments" version))
(sha256
(base32 "0ry3qi4rszkiqb20bmjlzys71dja9i746kvqi8xbxr9dzp4wwins"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f))
(propagated-inputs (list python-hatchling))
(home-page "")
(synopsis "Pygments is a syntax highlighting package written in Python.")
(description
"Pygments is a syntax highlighting package written in Python.")
(license #f)))
(define-public python-mkdocs-1-5-3
(package
(name "python-mkdocs")
(version "1.5.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "mkdocs" version))
(sha256
(base32 "1qnhyjgy62bdyww0iqf2fcn9jddpa4j6qhihp89m756b9lhrjz7b"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f))
(propagated-inputs (list python-click
python-colorama
python-ghp-import
python-importlib-metadata
python-jinja2
python-markdown-3-5-2
python-hatchling
python-markupsafe
python-mergedeep
python-babel
python-packaging
python-pathspec
python-platformdirs
python-pytest
python-coverage
python-pytest-cov
python-pyyaml
python-pyyaml-env-tag
python-typing-extensions
python-watchdog))
(home-page "")
(synopsis "Project documentation with Markdown.")
(description "Project documentation with Markdown.")
(license #f)))
(define-public python-markdown-3-5-2
(package
(name "python-markdown")
(version "3.5.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Markdown" version))
(sha256
(base32 "1y1fvzaayk966rmf448vkzj65w02h0b1s7770bk81vjhqlyppb71"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f))
(propagated-inputs (list python-importlib-metadata))
(native-inputs (list python-pytest python-coverage python-pyyaml))
(home-page "")
(synopsis "Python implementation of John Gruber's Markdown.")
(description "Python implementation of John Gruber's Markdown.")
(license #f)))
(define-public python-regex-2023
(package
(name "python-regex")
(version "2023.10.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "regex" version))
(sha256
(base32 "03yci2hs7mnzhn2798hh7zvkv7pcgv0wxpbsll5yx4129n24zvrz"))))
(build-system pyproject-build-system)
(home-page "https://github.com/mrabarnett/mrab-regex")
(synopsis "Alternative regular expression module, to replace re.")
(description "Alternative regular expression module, to replace re.")
(license #f)))
(define-public python-pyproject-parser
(package
(name "python-pyproject-parser")
(version "0.9.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyproject-parser" version))
(sha256
(base32 "16zxd450081ywb1dj69zd6mz7xykcvxamq80inq8hmy9igvjy2zs"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-apeye-core
python-attrs
python-dom-toml
python-domdf-python-tools
python-natsort
python-packaging
python-shippinglabel
python-toml
python-tomli
python-typing-extensions))
(home-page "https://github.com/repo-helper/pyproject-parser")
(synopsis "Parser for 'pyproject.toml'")
(description "Parser for pyproject.toml")
(license #f)))
(define-public python-mistletoe
(package
(name "python-mistletoe")
(version "1.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "mistletoe" version))
(sha256
(base32 "1sfv79fway4iya9i3rmz1bkj12lhzgazd4n7kv8phi4vvn57h3mx"))))
(build-system pyproject-build-system)
(home-page "https://github.com/miyuchina/mistletoe")
(synopsis "A fast, extensible Markdown parser in pure Python.")
(description
"This package provides a fast, extensible Markdown parser in pure Python.")
(license #f)))
(define-public python-deprecation-alias
(package
(name "python-deprecation-alias")
(version "0.3.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "deprecation-alias" version))
(sha256
(base32 "0xnf2cq7alaylkm4ji8w94bj48skdgazk97730d6l9qavmfim7hw"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-deprecation python-packaging))
(home-page "https://github.com/domdfcoding/deprecation-alias")
(synopsis
"A wrapper around 'deprecation' providing support for deprecated aliases.")
(description
"This package provides a wrapper around deprecation providing support for
deprecated aliases.")
(license #f)))
(define-public python-apeye
(package
(name "python-apeye")
(version "1.4.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "apeye" version))
(sha256
(base32 "0dkasx9q9mkmmcalry2bxq5fj22998srl652ppykp7k8mlpm9shl"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-apeye-core
python-cachecontrol
python-domdf-python-tools
python-lockfile
python-platformdirs
python-requests))
(home-page "")
(synopsis "Handy tools for working with URLs and APIs.")
(description "Handy tools for working with URLs and APIs.")
(license #f)))
(define-public python-shippinglabel
(package
(name "python-shippinglabel")
(version "1.7.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "shippinglabel" version))
(sha256
(base32 "1vh47qsj37zha5d8vnywhw0zfinjsgya4i49qcigxidlnahm93fg"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-apeye
python-deprecation-alias
python-dom-toml
python-domdf-python-tools
python-packaging
python-platformdirs
python-typing-extensions))
(home-page "https://github.com/domdfcoding/shippinglabel")
(synopsis "Utilities for handling packages.")
(description "Utilities for handling packages.")
(license #f)))
(define-public python-apeye-core
(package
(name "python-apeye-core")
(version "1.1.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "apeye_core" version))
(sha256
(base32 "0mca4dg5i9b2q65kd99kxc08bvzmp1x4pramx87v5j8cs39jxrsx"))))
(build-system pyproject-build-system)
(inputs (list python-domdf-python-tools
python-idna
python-hatchling
python-hatch-requirements-txt
))
(home-page "")
(synopsis "Core (offline) functionality for the apeye library.")
(description "Core (offline) functionality for the apeye library.")
(license #f)))
(define-public python-dom-toml
(package
(name "python-dom-toml")
(version "0.6.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "dom_toml" version))
(sha256
(base32 "0s1860pkpkh6f8h5bh6339s20fwa21bcwvajdv9jxirjmq2c5gx0"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-domdf-python-tools python-toml))
(home-page "")
(synopsis "Dom's tools for Tom's Obvious, Minimal Language.")
(description "Dom's tools for Tom's Obvious, Minimal Language.")
(license #f)))
(define-public python-consolekit
(package
(name "python-consolekit")
(version "1.6.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "consolekit" version))
(sha256
(base32 "1nbdz7q4abkrnkl40a7zvx87k9vssdpf92qfsybf4jpyn8icwzhy"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-click
python-colorama
python-deprecation-alias
python-domdf-python-tools
python-mistletoe
python-psutil
python-pytest
python-pytest-regressions
python-typing-extensions))
(home-page "")
(synopsis "Additional utilities for click.")
(description "Additional utilities for click.")
(license #f)))
(define-public python-whey
(package
(name "python-whey")
(version "0.0.24")
(source
(origin
(method url-fetch)
(uri (pypi-uri "whey" version))
(sha256
(base32 "18laavdk1d1mm91gj51n18pnh2y2iph992416fbj7am8bbc0a6a1"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-click
python-consolekit
python-dist-meta
python-dom-toml
python-domdf-python-tools
python-handy-archives
python-natsort
python-packaging
python-pyproject-parser
python-shippinglabel))
(home-page "https://github.com/repo-helper/whey")
(synopsis "A simple Python wheel builder for simple projects.")
(description
"This package provides a simple Python wheel builder for simple projects.")
(license #f)))
(define-public python-handy-archives
(package
(name "python-handy-archives")
(version "0.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "handy_archives" version))
(sha256
(base32 "1xmk7vkxqr3dg1kj03bgd1896sz0m8d2c8r8nzixaacyzl0i38pv"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-coincidence python-pytest))
(home-page "")
(synopsis "Some handy archive helpers for Python.")
(description "Some handy archive helpers for Python.")
(license #f)))
(define-public python-dist-meta
(package
(name "python-dist-meta")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "dist-meta" version))
(sha256
(base32 "0lc52gs7bkaggid44bj4r7dkxgxls0933cnpv200qn3zbgvm27al"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-domdf-python-tools python-handy-archives
python-packaging))
(home-page "https://github.com/repo-helper/dist-meta")
(synopsis "Parse and create Python distribution metadata.")
(description "Parse and create Python distribution metadata.")
(license #f)))
(define-public python-coincidence
(package
(name "python-coincidence")
(version "0.6.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "coincidence" version))
(sha256
(base32 "0i7y0q6f2vca0p0k5gmi7xbcs4ip898rvifyia1kgli3bmk12r8d"))))
(build-system pyproject-build-system)
; (arguments (list #:tests? #false))
(propagated-inputs (list python-domdf-python-tools python-pytest
python-pytest-regressions
python-typing-extensions))
(home-page "https://github.com/python-coincidence/coincidence")
(synopsis "Helper functions for pytest.")
(description "Helper functions for pytest.")
(license #f)))
(define-public python-domdf-python-tools
(package
(name "python-domdf-python-tools")
(version "3.8.0.post2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "domdf_python_tools" version))
(sha256
(base32 "0sinlf5fw1y31fc7s8l98cq640inknijsba6vq47nxlzl9g2bzd1"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-importlib-metadata
python-importlib-resources python-natsort
python-typing-extensions))
(home-page "https://github.com/domdfcoding_python_tools")
(synopsis "Plugin for ")
(description "" )
(license #f)))
(define-public python-coverage-pyver-pragma
(package
(name "python-coverage-pyver-pragma")
(version "0.3.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "coverage_pyver_pragma" version))
(sha256
(base32 "053hwps5i27bz1v691n8qybrlcqx000xvwx8l3c592qnqvdgbqf5"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-coverage python-domdf-python-tools python-whey
python-packaging python-pyparsing))
(home-page "https://github.com/python-coincidence/coverage_pyver_pragma")
(synopsis
"Plugin for Coverage.py to selectively ignore branches depending on the Python version.")
(description
"Plugin for Coverage.py to selectively ignore branches depending on the Python
version.")
(license #f)))
(define-public python-hatch-requirements-txt
(package
(name "python-hatch-requirements-txt")
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "hatch_requirements_txt" version))
(sha256
(base32 "083xakilrmy0ymh34s9wm8x8s7s8vn7ij33xz9avn1gxb1bnws1c"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #false)) ;the tests are not run automatically
(propagated-inputs (list python-hatchling
python-packaging
python-pytest
python-pkginfo
python-importlib-metadata
;python-coverage-pyver-pragma
;python-coverage
python-domdf-python-tools
python-pytest-cov
python-pytest-randomly
python-pytest-timeout))
(home-page "")
(synopsis
"Hatchling plugin to read project dependencies from requirements.txt")
(description
"Hatchling plugin to read project dependencies from requirements.txt")
(license #f)))
(define-public python-mkdocs-material
(package
(name "python-mkdocs-material")
(version "9.5.12")
(source
(origin
(method url-fetch)
(uri (pypi-uri "mkdocs_material" version))
(sha256
(base32 "15sy8pn06k148yi2gksikadhfgfs9w4v2wigh45hb95am3vcwsaz"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f))
(propagated-inputs (list python-trove-classifiers
python-babel
python-colorama
python-jinja2
python-markdown-3-5-2
python-mkdocs-1-5-3
python-hatchling
python-hatch-nodejs-version
python-hatch-requirements-txt
python-mkdocs-material-extensions
python-paginate
python-regex-2023
python-pygments-2-17-2
python-pymdown-extensions-10-2
python-requests))
(home-page "")
(synopsis "Documentation that simply works")
(description "Documentation that simply works")
(license #f)))
(packages->manifest
(list python-mkdocs-1-5-3 python-mkdocs-material))
@reyman
Copy link
Author

reyman commented Mar 7, 2024

guix package -m mkdocs-material.scm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment