mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: Add ghc-simple-sendfile
* gnu/packages/haskell.scm (ghc-simple-sendfile): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
d14e3435ca
commit
789dc5680f
1 changed files with 28 additions and 0 deletions
|
@ -8347,4 +8347,32 @@ (define-public ghc-http-date
|
||||||
Date in Haskell.")
|
Date in Haskell.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public ghc-simple-sendfile
|
||||||
|
(package
|
||||||
|
(name "ghc-simple-sendfile")
|
||||||
|
(version "0.2.25")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://hackage.haskell.org/package/"
|
||||||
|
"simple-sendfile-" version "/"
|
||||||
|
"simple-sendfile-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0k99j9xfcf83c55jmn202hdinhjaa4yn3dal4rvjk2w2rlhqirha"))))
|
||||||
|
(build-system haskell-build-system)
|
||||||
|
(inputs
|
||||||
|
`(("ghc-conduit" ,ghc-conduit)
|
||||||
|
("ghc-conduit-extra" ,ghc-conduit-extra)
|
||||||
|
("ghc-network" ,ghc-network)
|
||||||
|
("ghc-resourcet" ,ghc-resourcet)))
|
||||||
|
(native-inputs
|
||||||
|
`(("ghc-hspec" ,ghc-hspec)
|
||||||
|
("hspec-discover" ,hspec-discover)))
|
||||||
|
(home-page "https://github.com/kazu-yamamoto/simple-sendfile")
|
||||||
|
(synopsis "Cross platform library for the sendfile system call")
|
||||||
|
(description "This library tries to call minimum system calls which
|
||||||
|
are the bottleneck of web servers.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
;;; haskell.scm ends here
|
;;; haskell.scm ends here
|
||||||
|
|
Loading…
Reference in a new issue