mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 05:39:41 -05:00
gnu: Add ghc-happstack-server.
* gnu/packages/haskell-web.scm (ghc-happstack-server): New variable. Signed-off-by: Brett Gilio <brettg@posteo.net>
This commit is contained in:
parent
0ef07d79b9
commit
0eb8f530d1
1 changed files with 47 additions and 0 deletions
|
@ -1527,6 +1527,53 @@ (define-public ghc-js-flot
|
|||
version. The package is designed to meet the redistribution
|
||||
requirements of downstream users (e.g. Debian).")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ghc-happstack-server
|
||||
(package
|
||||
(name "ghc-happstack-server")
|
||||
(version "7.5.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://hackage.haskell.org/package/happstack-server/happstack-server-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0i7csvmwv7n68gkwqzi985p2mjdgzipjnlj873sdiknhx9pfmq70"))))
|
||||
(build-system haskell-build-system)
|
||||
(inputs
|
||||
`(("ghc-network" ,ghc-network)
|
||||
("ghc-network-bsd" ,ghc-network-bsd)
|
||||
("ghc-network-uri" ,ghc-network-uri)
|
||||
("ghc-base64-bytestring" ,ghc-base64-bytestring)
|
||||
("ghc-blaze-html" ,ghc-blaze-html)
|
||||
("ghc-exceptions" ,ghc-exceptions)
|
||||
("ghc-extensible-exceptions"
|
||||
,ghc-extensible-exceptions)
|
||||
("ghc-hslogger" ,ghc-hslogger)
|
||||
("ghc-html" ,ghc-html)
|
||||
("ghc-monad-control" ,ghc-monad-control)
|
||||
("ghc-old-locale" ,ghc-old-locale)
|
||||
("ghc-semigroups" ,ghc-semigroups)
|
||||
("ghc-sendfile" ,ghc-sendfile)
|
||||
("ghc-system-filepath" ,ghc-system-filepath)
|
||||
("ghc-syb" ,ghc-syb)
|
||||
("ghc-threads" ,ghc-threads)
|
||||
("ghc-transformers-base" ,ghc-transformers-base)
|
||||
("ghc-transformers-compat"
|
||||
,ghc-transformers-compat)
|
||||
("ghc-utf8-string" ,ghc-utf8-string)
|
||||
("ghc-zlib" ,ghc-zlib)))
|
||||
(native-inputs `(("ghc-hunit" ,ghc-hunit)))
|
||||
(home-page "http://happstack.com")
|
||||
(synopsis "Web related tools and services for Haskell")
|
||||
(description
|
||||
"Happstack Server provides an HTTP server and a rich set of functions for
|
||||
routing requests, handling query parameters, generating responses, working with
|
||||
cookies, serving files, and more.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public ghc-sendfile
|
||||
(package
|
||||
(name "ghc-sendfile")
|
||||
|
|
Loading…
Reference in a new issue