guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 10/20] gnu: Add python-misaka


From: Muriithi Frederick Muriuki
Subject: [PATCH 10/20] gnu: Add python-misaka
Date: Fri, 14 Apr 2017 13:13:10 +0300

* gnu/packages/python.scm (python-misaka): New variable.
---
 gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 148ed74..0e3860f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14208,3 +14208,39 @@ Sure is heavily inspired by @code{RSpec Expectations} 
and @code{should.js}")
 
 (define-public python2-couleur
   (package-with-python2 python-couleur))
+
+(define-public python-misaka
+  (package
+    (name "python-misaka")
+    (version "2.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "misaka" version))
+       (sha256
+        (base32
+         "011nyw2xnwp9xzqzrp6qmqvfc5xg5165ryd9gmmh8h5q38wg2vik"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-cffi" ,python-cffi)))
+    (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/3aw9x...-python-3.5.3/lib/python3.5/site-packages/
+       ;; which is not the appropriate output directory, and unlike the
+       ;; install command, passing the --prefix or --install-dir
+       ;; arguments to the test command fails.
+       ;; This seems to be required by easy_install, to run the tests
+       #:tests? #f))
+    (home-page "https://github.com/FSX/misaka";)
+    (synopsis
+     "Misaka is a CFFI binding for Hoedown, a markdown parsing library")
+    (description
+     "Misaka is a CFFI-based binding for 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)))
+
+(define-public python2-misaka
+  (package-with-python2 python-misaka))
-- 
2.10.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]