From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4iPZ-0002Zf-NK for guix-patches@gnu.org; Wed, 18 Oct 2017 03:05:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4iPW-0003i2-I2 for guix-patches@gnu.org; Wed, 18 Oct 2017 03:05:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38522) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4iPW-0003ht-CX for guix-patches@gnu.org; Wed, 18 Oct 2017 03:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4iPW-0005u0-4Y for guix-patches@gnu.org; Wed, 18 Oct 2017 03:05:02 -0400 Subject: [bug#28887] [PATCH 1/1] gnu: Add python-hy. References: <87infdlz0c.fsf@gmail.com> In-Reply-To: <87infdlz0c.fsf@gmail.com> Resent-Message-ID: From: Oleg Pykhalov Date: Wed, 18 Oct 2017 10:04:13 +0300 Message-ID: <87efq1lyxe.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-python-hy.patch Content-Description: [PATCH 1/1] gnu: Add python-hy. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: bug#28887 <28887@debbugs.gnu.org> >From cbf5108f155a5160d8947deefbd4bd4eb74e9357 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Wed, 18 Oct 2017 09:55:41 +0300 Subject: [PATCH 1/1] gnu: Add python-hy. * gnu/packages/python.scm (python-hy): New variable. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 46df5eaca..7995a30d0 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -16723,3 +16723,33 @@ interpreter when it prints a stack trace.") (define-public python2-traceback2 (package-with-python2 python-traceback2)) + +(define-public python-hy + (package + (name "python-hy") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "hy" version)) + (sha256 + (base32 + "19sfymaksx9jhksfnb15ahid46mzrhdfzz6yy2craz2qnzvpmky8")))) + (build-system python-build-system) + (propagated-inputs + `(("python-clint" ,python-clint) + ("python-astor" ,python-astor) + ("python-rply" ,python-rply))) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (add-before 'install 'set-home + (lambda _ (setenv "HOME" (assoc-ref %outputs "out")) #t))))) + (home-page "https://github.com/hylang/hy") + (synopsis "Dialect of Lisp embedded in Python") + (description "@code{hy} provides a dialect of Lisp embedded in Python.") + (license license:bsd-3))) + +(define-public python2-hy + (package-with-python2 python-hy)) -- 2.14.2