[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 07/43] gnu: Add ghc-haskeline.
From: |
Eric Bavier |
Subject: |
Re: [PATCH 07/43] gnu: Add ghc-haskeline. |
Date: |
Mon, 5 Sep 2016 22:27:55 -0500 |
On Sun, 4 Sep 2016 16:17:06 +0000
ng0 <address@hidden> wrote:
> * gnu/packages/haskell.scm (ghc-haskeline): 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 f3d43c4..8c6aee0 100644
> --- a/gnu/packages/haskell.scm
> +++ b/gnu/packages/haskell.scm
> @@ -6558,4 +6558,29 @@ via bindings to the curses library. Terminfo allows
> POSIX systems
> to interact with a variety of terminals using a standard set of
> capabilities.")
> (license license:bsd-3)))
>
> +(define-public ghc-haskeline
> + (package
> + (name "ghc-haskeline")
> + (version "0.7.2.3")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://hackage.haskell.org/package/haskeline/haskeline-"
> + version ".tar.gz"))
> + (sha256
> + (base32
> + "09wd6sxgn65xxpk7dhy1cg3ywlbk0ccqq7xylycwk4zazy3gjgkd"))))
> + (build-system haskell-build-system)
> + (inputs
> + `(("ghc-terminfo" ,ghc-terminfo)))
> + (home-page "https://github.com/judah/haskeline")
> + (synopsis "A command-line interface for user input, written in Haskell.")
^
Could you run these packages through 'guix lint'? It should warn about
the "A" at the beginning of a synopsis.
> + (description
> + "Haskeline provides a user interface for line input in command-line
> +programs. This library is similar in purpose to readline, but since it
> +is written in Haskell it is (hopefully) more easily used in other Haskell
> +programs.")
> + (license license:bsd-3)))
> +
> ;;; haskell.scm ends here
While adding ghc packages in the past, I've tried to keep the packages
alphabetically sorted. I'm not sure whether there's concensus on doing
that. We have 'guix edit', but for catch-all modules like (gnu
packages haskell) I think it's still nice to have some semblance of
order. We added a plea message at the top of gnu/packages/python.scm;
maybe we should add one to gnu/packages/haskell.scm. What do others
think?
`~Eric
- [PATCH 01/43] gnu: Add ghc-base16-bytestring., ng0, 2016/09/04
- [PATCH 03/43] gnu: ghc-cryptonite: Update to 0.19., ng0, 2016/09/04
- [PATCH 04/43] gnu: Add ghc-cryptohash., ng0, 2016/09/04
- [PATCH 06/43] gnu: Add ghc-terminfo., ng0, 2016/09/04
- [PATCH 02/43] gnu: Add ghc-binary., ng0, 2016/09/04
- [PATCH 07/43] gnu: Add ghc-haskeline., ng0, 2016/09/04
- Re: [PATCH 07/43] gnu: Add ghc-haskeline.,
Eric Bavier <=
- [PATCH 09/43] gnu: Add ghc-regex-tdfa., ng0, 2016/09/04
- [PATCH 10/43] gnu: Add ghc-regex-compat-tdfa., ng0, 2016/09/04
- [PATCH 05/43] gnu: Add ghc-data-ordlist., ng0, 2016/09/04
- [PATCH 08/43] gnu: Add ghc-regex-applicative., ng0, 2016/09/04
- [PATCH 15/43] gnu: Add ghc-transformers., ng0, 2016/09/04
- [PATCH 17/43] gnu: Add ghc-patience., ng0, 2016/09/04
- [PATCH 18/43] gnu: Add ghc-monads-tf., ng0, 2016/09/04