unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: 宋文武 <iyzsong@gmail.com>
To: guix-devel@gnu.org
Cc: 宋文武 <iyzsong@gmail.com>
Subject: [PATCH 5/5] gnu: Add python-hy.
Date: Wed, 13 Jan 2016 09:27:27 +0800	[thread overview]
Message-ID: <1452648447-2684-5-git-send-email-iyzsong@gmail.com> (raw)
In-Reply-To: <1452648447-2684-1-git-send-email-iyzsong@gmail.com>

* 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

  parent reply	other threads:[~2016-01-13  1:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-13  1:27 [PATCH 1/5] gnu: Add python-args 宋文武
2016-01-13  1:27 ` [PATCH 2/5] gnu: Add python-clint 宋文武
2016-01-15 15:07   ` Ludovic Courtès
2016-01-13  1:27 ` [PATCH 3/5] gnu: Add python-astor 宋文武
2016-01-15 15:08   ` Ludovic Courtès
2016-01-13  1:27 ` [PATCH 4/5] gnu: Add python-rply 宋文武
2016-01-15 16:11   ` Ludovic Courtès
2016-01-13  1:27 ` 宋文武 [this message]
2016-01-15 16:12   ` [PATCH 5/5] gnu: Add python-hy Ludovic Courtès
2016-01-16  0:20     ` 宋文武
2016-01-15 15:04 ` [PATCH 1/5] gnu: Add python-args Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1452648447-2684-5-git-send-email-iyzsong@gmail.com \
    --to=iyzsong@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).