guix-patches
[Top][All Lists]
Advanced

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

[bug#44174] [PATCH 05/16] gnu: Add ghc-hspec-megaparsec.


From: Christopher Baines
Subject: [bug#44174] [PATCH 05/16] gnu: Add ghc-hspec-megaparsec.
Date: Sat, 24 Oct 2020 22:30:18 +0100
User-agent: mu4e 1.4.13; emacs 27.1

Carlo Holl <carloholl@gmail.com> writes:

> ---
>  gnu/packages/haskell-xyz.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
> index ad9c49ddeb..84f28ee5a5 100644
> --- a/gnu/packages/haskell-xyz.scm
> +++ b/gnu/packages/haskell-xyz.scm
> @@ -5934,6 +5934,34 @@ are described in a file named @code{package.yaml}.  
> Both @code{cabal2nix} and
>  @code{package.yaml}.")
>      (license license:expat)))
>  
> +(define-public ghc-hspec-megaparsec
> +  (package
> +    (name "ghc-hspec-megaparsec")
> +    (version "2.0.1")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (string-append
> +               
> "https://hackage.haskell.org/package/hspec-megaparsec/hspec-megaparsec-";
> +               version
> +               ".tar.gz"))
> +        (sha256
> +          (base32
> +            "0w8nn2rh01lkiwsiyqh3gviklhfmy0245rakj94dmliyljw8skfg"))))
> +    (build-system haskell-build-system)
> +    (inputs
> +      `(("ghc-hspec-expectations"
> +         ,ghc-hspec-expectations)
> +        ("ghc-megaparsec" ,ghc-megaparsec)))
> +    (native-inputs `(("ghc-hspec" ,ghc-hspec)))
> +    (home-page
> +      "https://github.com/mrkkrp/hspec-megaparsec";)
> +    (synopsis
> +      "Utility functions for testing Megaparsec parsers with Hspec")
> +    (description
> +      "Utility functions for testing Megaparsec parsers with Hspec.")

Would you be able to come up with a more descriptive description? Or at
least one that doesn't repeat the synopsis in the same words. I
recognise that this is what was probably generated by the importer.

Attachment: signature.asc
Description: PGP signature


reply via email to

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