guix-devel
[Top][All Lists]
Advanced

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

[PATCH 5/5] gnu: Add python-hy.


From: 宋文武
Subject: [PATCH 5/5] gnu: Add python-hy.
Date: Wed, 13 Jan 2016 09:27:27 +0800

* gnu/packages/python.scm (python-hy, python2-hy): New variables.
---
 gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d4cc8d3..139c02e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6715,3 +6715,31 @@ with a new public API, and RPython support.")
 
 (define-public python2-rply
   (package-with-python2 python-rply))
+
+(define-public python-hy
+  (package
+    (name "python-hy")
+    (version "0.11.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "hy" version))
+              (sha256
+               (base32
+                "1msqv747iz12r73mz4qvsmlwkddwjvrahlrk7ysrcz07h7dsscxs"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-astor" ,python-astor)
+       ("python-clint" ,python-clint)
+       ("python-rply" ,python-rply)
+       ("python-setuptools" ,python-setuptools)))
+    (home-page "http://hylang.org/";)
+    (synopsis "Lisp frontend to Python")
+    (description
+     "Hy is a dialect of Lisp that's embedded in Python.
+
+Since Hy transforms its Lisp code into the Python Abstract Syntax Tree, you
+have the whole world of Python at your fingertips, in Lisp form.")
+    (license license:expat)))
+
+(define-public python2-hy
+  (package-with-python2 python-hy))
-- 
2.5.0




reply via email to

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