From mboxrd@z Thu Jan 1 00:00:00 1970 From: ericbavier@openmailbox.org Subject: Re: [PATCH] gnu: Add ghc-base64-bytestring. Date: Wed, 21 Oct 2015 22:10:47 -0500 Message-ID: <1445483479-19104-3-git-send-email-ericbavier@openmailbox.org> References: <1445483479-19104-1-git-send-email-ericbavier@openmailbox.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpAse-0005Aj-4u for guix-devel@gnu.org; Thu, 22 Oct 2015 04:05:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpAsY-0005ty-TE for guix-devel@gnu.org; Thu, 22 Oct 2015 04:05:48 -0400 Received: from smtp19.openmailbox.org ([62.4.1.53]:51666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpAsY-0005tV-Nt for guix-devel@gnu.org; Thu, 22 Oct 2015 04:05:42 -0400 In-Reply-To: <1445483479-19104-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-base64-bytestring): New variable. > --- > gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm > index a61ad05..4246b64 100644 > --- a/gnu/packages/haskell.scm > +++ b/gnu/packages/haskell.scm > @@ -1381,6 +1381,31 @@ optimized for performance critical use, both in terms of large data quantities > and high speed.") > (license bsd-3))) > > +(define-public ghc-base64-bytestring > + (package > + (name "ghc-base64-bytestring") > + (version "1.0.0.1") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "http://hackage.haskell.org/package/base64-bytestring/base64-bytestring-" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "0l1v4ddjdsgi9nqzyzcxxj76rwar3lzx8gmwf2r54bqan3san9db")))) > + (build-system haskell-build-system) > + (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing. > + (inputs > + `(("ghc-quickcheck" ,ghc-quickcheck) > + ("ghc-hunit" ,ghc-hunit))) These inputs could probably be left out if #:tests? #f. > + (home-page "https://github.com/bos/base64-bytestring") > + (synopsis "Fast base64 encoding and decoding for ByteStrings") Perhaps leave out the "Fast" part. `~Eric