guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3] gnu: Add ghc-markdown-unlit.


From: Marius Bakke
Subject: Re: [PATCH v3] gnu: Add ghc-markdown-unlit.
Date: Thu, 05 Jan 2017 19:00:51 +0100
User-agent: Notmuch/0.23.4 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu)

Danny Milosavljevic <address@hidden> writes:

> * gnu/packages/haskell.scm (ghc-markdown-unlit): New variable.
> ---
>  gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
> index de061a630..5d3c85475 100644
> --- a/gnu/packages/haskell.scm
> +++ b/gnu/packages/haskell.scm
> @@ -8073,4 +8073,31 @@ It features a complete, well-tested parser and pretty 
> printer for all of C99
>  and a large set of GNU extensions.")
>      (license license:bsd-3)))
>  
> +(define-public ghc-markdown-unlit
> +  (package
> +   (name "ghc-markdown-unlit")
> +   (version "0.4.0")
> +   (source (origin
> +     (method url-fetch)
> +     (uri (string-append 
> "https://hackage.haskell.org/package/markdown-unlit/";
> +                         "markdown-unlit-" version ".tar.gz"))
> +     (sha256
> +       (base32
> +         "1kj2bffl7ndd8ygwwa3r1mbpwbxbfhyfgnbla8k8g9i6ffp0qrbw"))))
> +   (build-system haskell-build-system)
> +   (inputs
> +    `(("ghc-base-compat" ,ghc-base-compat)
> +      ("ghc-hspec" ,ghc-hspec)
> +      ("ghc-quickcheck" ,ghc-quickcheck)
> +      ("ghc-silently" ,ghc-silently)
> +      ("ghc-stringbuilder" ,ghc-stringbuilder)
> +      ("ghc-temporary" ,ghc-temporary)))
> +   (native-inputs
> +    `(("hspec-discover" ,hspec-discover)))

I noticed this was referenced by the binary and library for some reason,
so I made hspec-discover a regular input. It would be good to figure out
why it's referenced as it doesn't seem like it should be needed.

Pushed with indentation fixes! :-)

Attachment: signature.asc
Description: PGP signature


reply via email to

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