aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2025-12-01 21:33:30 +0000
committerArun Isaac2025-12-01 22:22:51 +0000
commitc6fe66485ea5ee157650ee4506779698bbbc0054 (patch)
tree01c1059b4e1e6eaf6b72695fd67a52577386fb2f
parente40994928ba5679b15ad44ebf200624aa613e5e6 (diff)
downloadguix-bioinformatics-c6fe66485ea5ee157650ee4506779698bbbc0054.tar.gz
gn: Add python-misaka
python-misaka was removed from Guix upstream.
-rw-r--r--gn/packages/python.scm29
-rw-r--r--gn/packages/yaj.scm1
2 files changed, 30 insertions, 0 deletions
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-<version>/lib/python<version>/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)))
diff --git a/gn/packages/yaj.scm b/gn/packages/yaj.scm
index bdd417d..aa5a0eb 100644
--- a/gn/packages/yaj.scm
+++ b/gn/packages/yaj.scm
@@ -5,6 +5,7 @@
#:use-module (guix download)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
+ #:use-module (gn packages python)
#:use-module (gnu packages)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)