gnu: Add ghc-descriptive.

* gnu/packages/haskell.scm (ghc-descriptive): New variable.
This commit is contained in:
Brian Leung 2019-06-21 03:44:27 +02:00 committed by Timothy Sample
parent ca20ee07b2
commit a60056b5d3
No known key found for this signature in database
GPG Key ID: 2AC6A5EC1C357C59
1 changed files with 32 additions and 0 deletions

View File

@ -11727,6 +11727,38 @@ recursive scanning and copying of directories, working with temporary
files/directories, and more.") files/directories, and more.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public ghc-descriptive
(package
(name "ghc-descriptive")
(version "0.9.5")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/descriptive/descriptive-"
version
".tar.gz"))
(sha256
(base32
"0y5693zm2kvqjilybbmrcv1g6n6x2p6zjgi0k0axjw1sdhh1g237"))))
(build-system haskell-build-system)
(inputs
`(("ghc-aeson" ,ghc-aeson)
("ghc-bifunctors" ,ghc-bifunctors)
("ghc-scientific" ,ghc-scientific)
("ghc-vector" ,ghc-vector)))
(native-inputs
`(("ghc-hunit" ,ghc-hunit)
("ghc-hspec" ,ghc-hspec)))
(home-page
"https://github.com/chrisdone/descriptive")
(synopsis
"Self-describing consumers/parsers: forms, cmd-line args, JSON, etc.")
(description
"This package provides datatypes and functions for creating consumers
and parsers with useful semantics.")
(license license:bsd-3)))
(define-public ghc-stylish-haskell (define-public ghc-stylish-haskell
(package (package
(name "ghc-stylish-haskell") (name "ghc-stylish-haskell")