gnu: Add ghc-yesod.

* gnu/packages/haskell-web.scm (ghc-yesod): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
rsiddharth 2018-03-21 03:45:15 +00:00 committed by Ludovic Courtès
parent 98889149f9
commit 42469226c1
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1134,3 +1134,48 @@ (define-public ghc-yesod-form
@code{Yesod.Form.Fields} module. Also, there is @code{Yesod.Form.Nic} module
providing richtext field using Nic editor. ")
(license license:expat)))
(define-public ghc-yesod
(package
(name "ghc-yesod")
(version "1.4.5")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/yesod/yesod-"
version ".tar.gz"))
(sha256
(base32
"1sg66nq8yaas2m5nqsdrxricvcizd1ik02zqk60sxh3wna08fz16"))))
(build-system haskell-build-system)
(inputs
`(("ghc-yesod-core" ,ghc-yesod-core)
("ghc-yesod-persistent" ,ghc-yesod-persistent)
("ghc-yesod-form" ,ghc-yesod-form)
("ghc-monad-control" ,ghc-monad-control)
("ghc-wai" ,ghc-wai)
("ghc-wai-extra" ,ghc-wai-extra)
("ghc-warp" ,ghc-warp)
("ghc-blaze-html" ,ghc-blaze-html)
("ghc-blaze-markup" ,ghc-blaze-markup)
("ghc-aeson" ,ghc-aeson)
("ghc-data-default-class" ,ghc-data-default-class)
("ghc-unordered-containers" ,ghc-unordered-containers)
("ghc-yaml" ,ghc-yaml)
("ghc-text" ,ghc-text)
("ghc-monad-logger" ,ghc-monad-logger)
("ghc-fast-logger" ,ghc-fast-logger)
("ghc-conduit" ,ghc-conduit)
("ghc-conduit-extra" ,ghc-conduit-extra)
("ghc-resourcet" ,ghc-resourcet)
("ghc-shakespeare" ,ghc-shakespeare)
("ghc-streaming-commons" ,ghc-streaming-commons)
("ghc-wai-logger" ,ghc-wai-logger)
("ghc-semigroups" ,ghc-semigroups)))
(home-page "https://www.yesodweb.com")
(synopsis "Framework for creating type-safe, RESTful web applications")
(description "The Haskell package package groups together the various
Yesod related packages into one cohesive whole. This is the version of Yesod,
whereas most of the core code lives in @code{ghc-yesod-core}.")
(license license:expat)))