From mboxrd@z Thu Jan 1 00:00:00 1970 From: ericbavier@openmailbox.org Subject: Re: [PATCH] gnu: Add ghc-wai. Date: Thu, 22 Oct 2015 03:47:47 -0500 Message-ID: <1445503671-30014-19-git-send-email-ericbavier@openmailbox.org> References: <1445483479-19104-1-git-send-email-ericbavier@openmailbox.org> <1445503671-30014-1-git-send-email-ericbavier@openmailbox.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpG8A-00044W-Kl for guix-devel@gnu.org; Thu, 22 Oct 2015 09:42:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpG87-00086Y-RT for guix-devel@gnu.org; Thu, 22 Oct 2015 09:42:10 -0400 Received: from smtp5.openmailbox.org ([62.4.1.39]:40740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpG87-00085o-Gs for guix-devel@gnu.org; Thu, 22 Oct 2015 09:42:07 -0400 In-Reply-To: <1445503671-30014-1-git-send-email-ericbavier@openmailbox.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, Paul van der Walt From: Eric Bavier > * gnu/packages/haskell.scm (ghc-wai): New variable. > --- > gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > > diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm > index 4236aab..accbd35 100644 > --- a/gnu/packages/haskell.scm > +++ b/gnu/packages/haskell.scm > @@ -4004,4 +4004,36 @@ for Haskell, optimized for ease of use and high performance. (A note on > naming: in Greek mythology, Aeson was the father of Jason.)") > (license bsd-3))) > > +(define-public ghc-wai > + (package > + (name "ghc-wai") > + (version "3.0.4.0") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "http://hackage.haskell.org/package/wai/wai-" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "1551n0g0n22vml33v0jz5xgjcy6j79algvsdqg11a1z5ljjrjlqf")))) > + (build-system haskell-build-system) > + (propagated-inputs > + `(("ghc-bytestring-builder" ,ghc-bytestring-builder) > + ("ghc-unix-compat" ,ghc-unix-compat) > + ("ghc-vault" ,ghc-vault) > + ("ghc-blaze-builder" ,ghc-blaze-builder) > + ("ghc-network" ,ghc-network))) > + (inputs > + `(("ghc-quickcheck" ,ghc-quickcheck) > + ("ghc-hunit" ,ghc-hunit) > + ("ghc-hspec" ,ghc-hspec) > + ("ghc-text" ,ghc-text) > + ("ghc-http-types" ,ghc-http-types))) > + (home-page "https://hackage.haskell.org/package/wai") > + (synopsis "WAI: Web Application Interface") How about: "Web application interface library for Haskell." > + (description "Web Application Interface library for Haskell.") and: "This package provides a Web Application Interface (WAI) library for the Haskell language. It defines a common protocol for communication between web applications and web servers." `~Eric > + (license bsd-3))) > + > ;;; haskell.scm ends here > -- > 2.5.0 >