guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add ghc-base64-bytestring.


From: ericbavier
Subject: Re: [PATCH] gnu: Add ghc-base64-bytestring.
Date: Wed, 21 Oct 2015 22:10:47 -0500

From: Eric Bavier <address@hidden>

> * 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]