guix-patches
[Top][All Lists]
Advanced

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

bug#26069: [PATCH 1/2] gnu: Add ghc-json.


From: Marius Bakke
Subject: bug#26069: [PATCH 1/2] gnu: Add ghc-json.
Date: Sun, 12 Mar 2017 18:47:15 +0100
User-agent: Notmuch/0.23.7 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu)

Danny Milosavljevic <address@hidden> writes:

> * gnu/packages/haskell.scm (ghc-json): 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 2415881e8..ce37f63f9 100644
> --- a/gnu/packages/haskell.scm
> +++ b/gnu/packages/haskell.scm
> @@ -8212,4 +8212,31 @@ handler built in.")
>  handled safely, this is what you're left with.")
>      (license license:isc)))
>  
> +(define-public ghc-json
> +  (package
> +    (name "ghc-json")
> +    (version "0.9.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://hackage.haskell.org/package/json/";
> +                           "json-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "18l5027vc68hnnxrxlnyl59vkkg95a92m1zzms0dqiby2r6pxdcn"))))
> +    (build-system haskell-build-system)
> +    (inputs
> +     `(("ghc-syb" ,ghc-syb)
> +       ("ghc-mtl" ,ghc-mtl)
> +       ("ghc-text" ,ghc-text)
> +       ("ghc-parsec" ,ghc-parsec)))
> +    (home-page "http://hackage.haskell.org/package/json";)
> +    (synopsis "Serializes Haskell data to and from JSON")
> +    (description "This package provides a parser and pretty printer for
> +converting between Haskell values and JSON.
> +JSON (JavaScript Object Notation) is a lightweight data-interchange format.
> +It is based on a subset of the JavaScript Programming Language, Standard
> +ECMA-262 3rd Edition - December 1999.")

The second sentence can be left off IMO. Otherwise LGTM.

> +    (license license:bsd-3)))
> +
>  ;;; haskell.scm ends here

Attachment: signature.asc
Description: PGP signature


reply via email to

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