From: Eric Bavier <ericbav...@openmailbox.org> > * 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