From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 086/105] gnu: ghc-simple-reflect. Date: Thu, 15 Oct 2015 17:33:27 +0200 Message-ID: <1444923226-9811-20-git-send-email-paul@denknerd.org> References: <1444914384-24847-1-git-send-email-paul@denknerd.org> <1444923226-9811-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkXt-00042l-Rv for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmkXq-0005ip-6u for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:21 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:51839 helo=mx-out03.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkXq-0005il-0U for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:18 -0400 Received: from mx08.mykolab.com (unknown [10.20.7.48]) by mx-out03.mykolab.com (Postfix) with ESMTPS id F231522B13 for ; Thu, 15 Oct 2015 17:34:15 +0200 (CEST) In-Reply-To: <1444923226-9811-1-git-send-email-paul@denknerd.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/haskell.scm (ghc-simple-reflect): New variable. --- gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 187fe4b..e0f4633 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -388,6 +388,33 @@ package.") package.") (license bsd-3))) +(define-public ghc-simple-reflect + (package + (name "ghc-simple-reflect") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/simple-reflect/simple-reflect-" + version + ".tar.gz")) + (sha256 + (base32 + "1dpcf6w3cf1sfl9bnlsx04x7aghw029glj5d05qzrsnms2rlw8iq")))) + (build-system haskell-build-system) + (home-page + "http://twanvl.nl/blog/haskell/simple-reflection-of-expressions") + (synopsis + "Simple reflection of expressions containing variables") + (description + "This package allows simple reflection of expressions containing +variables. Reflection here means that a Haskell expression is turned into a +string. The primary aim of this package is teaching and understanding; there +are no options for manipulating the reflected expressions beyond showing +them.") + (license bsd-3))) + (define-public ghc-reflection (package (name "ghc-reflection") -- 2.6.1