From mboxrd@z Thu Jan 1 00:00:00 1970 From: ericbavier@openmailbox.org Subject: Re: [PATCH] gnu: Add ghc-zip-archive. Date: Thu, 22 Oct 2015 03:47:49 -0500 Message-ID: <1445503671-30014-21-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]:52454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpG8C-00048I-Q5 for guix-devel@gnu.org; Thu, 22 Oct 2015 09:42:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpG88-00087R-Nv for guix-devel@gnu.org; Thu, 22 Oct 2015 09:42:12 -0400 Received: from smtp9.openmailbox.org ([62.4.1.43]:60220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpG88-00086x-Gy for guix-devel@gnu.org; Thu, 22 Oct 2015 09:42:08 -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-zip-archive): New variable. > --- > gnu/packages/haskell.scm | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm > index d9704c8..35952ed 100644 > --- a/gnu/packages/haskell.scm > +++ b/gnu/packages/haskell.scm > @@ -31,6 +31,7 @@ > #:use-module (gnu packages compression) > #:use-module (gnu packages elf) > #:use-module (gnu packages bootstrap) > + #:use-module (gnu packages zip) > #:use-module (gnu packages ghostscript) > #:use-module (gnu packages libffi) > #:use-module (gnu packages libedit) > @@ -1217,6 +1218,36 @@ complicated text/binary file formats.") > Haskell.") > (license bsd-3))) > > +(define-public ghc-zip-archive > + (package > + (name "ghc-zip-archive") > + (version "0.2.3.7") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "http://hackage.haskell.org/package/zip-archive/zip-archive-" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "169nkxr5zlbymiz1ydlhlqr66vqiycmg85xh559phpkr64w3nqj1")))) > + (build-system haskell-build-system) > + (propagated-inputs > + `(("ghc-old-time" ,ghc-old-time) > + ("ghc-digest" ,ghc-digest))) > + (inputs > + `(("ghc-hunit" ,ghc-hunit) > + ("ghc-mtl" ,ghc-mtl) > + ("zip" ,zip) > + ("ghc-text" ,ghc-text) > + ("ghc-zlib" ,ghc-zlib))) > + (home-page "https://hackage.haskell.org/package/zip-archive") > + (synopsis "Zip archive library") Let's distinguish this package with a "for Haskell" in the synopsis. WDYT? `~Eric > + (description "The zip-archive library provides functions for creating, > +modifying, and extracting files from zip archives.") > + (license bsd-3))) > + > (define-public ghc-appar > (package > (name "ghc-appar") > -- > 2.5.0 >