From c6fe66485ea5ee157650ee4506779698bbbc0054 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 1 Dec 2025 21:33:30 +0000 Subject: gn: Add python-misaka python-misaka was removed from Guix upstream. --- gn/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gn/packages/python.scm') diff --git a/gn/packages/python.scm b/gn/packages/python.scm index 54d45a4..e429058 100644 --- a/gn/packages/python.scm +++ b/gn/packages/python.scm @@ -2024,3 +2024,32 @@ a general image processing tool.") (license (license:x11-style "http://www.pythonware.com/products/pil/license.htm" "The PIL Software License")))) + +(define-public python-misaka + (package + (name "python-misaka") + (version "2.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "misaka" version)) + (sha256 + (base32 + "1mzc29wwyhyardclj1vg2xsfdibg2lzb7f1azjcxi580ama55wv2")))) + (build-system python-build-system) + (arguments + `(;; Line 37 of setup.py calls self.run_command('develop') + ;; in the 'check' phase. This command seems to be trying + ;; to write to + ;; /gnu/store/...-python-/lib/python/site-packages/ + ;; for which it does not have the permission to write. + #:tests? #f)) + (propagated-inputs + (list python-cffi)) + (home-page "https://github.com/FSX/misaka") + (synopsis "Python binding for Hoedown") + (description + "@code{Misaka} is a CFFI-based binding for @code{Hoedown}, a fast markdown processing + library written in C. It features a fast HTML renderer and functionality to make custom + renderers (e.g. man pages or LaTeX).") + (license license:expat))) -- cgit 1.4.1