gnu: Add ghc-curl.

* gnu/packages/haskell-web.scm (ghc-curl): New public variable.
This commit is contained in:
Marius Bakke 2016-10-08 08:36:23 +01:00
parent bb9a99e657
commit b1342a8257
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -8,6 +8,7 @@
;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net> ;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net>
;;; Copyright © 2019 John Soo <jsoo1@asu.edu> ;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@gmail.com> ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@gmail.com>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -93,6 +94,27 @@ (define-public ghc-cookie
(description "HTTP cookie parsing and rendering library for Haskell.") (description "HTTP cookie parsing and rendering library for Haskell.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public ghc-curl
(package
(name "ghc-curl")
(version "1.3.8")
(source (origin
(method url-fetch)
(uri (string-append "mirror://hackage/package/curl/curl-"
version ".tar.gz"))
(sha256
(base32
"0vj4hpaa30jz7c702xpsfvqaqdxz28zslsqnsfx6bf6dpwvck1wh"))))
(build-system haskell-build-system)
(inputs
`(("curl" ,curl)))
(home-page "https://hackage.haskell.org/package/curl")
(synopsis "Haskell bindings for libcurl")
(description
"@code{libcurl} is a versatile client-side URL transfer library.
This package provides a Haskell binding to libcurl.")
(license license:bsd-3)))
(define-public ghc-httpd-shed (define-public ghc-httpd-shed
(package (package
(name "ghc-httpd-shed") (name "ghc-httpd-shed")