guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

17/53: gnu: Add ghc-httpd-shed.


From: Ricardo Wurmus
Subject: 17/53: gnu: Add ghc-httpd-shed.
Date: Thu, 16 Aug 2018 11:04:58 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 57f25c7d9eb392c8332809fe175466c93922a3d4
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Aug 15 11:22:41 2018 +0200

    gnu: Add ghc-httpd-shed.
    
    * gnu/packages/haskell-web.scm (ghc-httpd-shed): New variable.
---
 gnu/packages/haskell-web.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 83de961..6154aa2 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -91,6 +91,30 @@ for screen-scraping.")
     (description "HTTP cookie parsing and rendering library for Haskell.")
     (license license:bsd-3)))
 
+(define-public ghc-httpd-shed
+  (package
+    (name "ghc-httpd-shed")
+    (version "0.4.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/httpd-shed/";
+                           "httpd-shed-" version ".tar.gz"))
+       (sha256
+        (base32
+         "064jy1mqhnf1hvq6s04wlhmp916rd522x58djb9qixv13vc8gzxh"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-network-uri" ,ghc-network-uri)
+       ("ghc-network" ,ghc-network)))
+    (home-page "https://hackage.haskell.org/package/httpd-shed";)
+    (synopsis "Simple web-server with an interact style API")
+    (description
+     "This web server promotes a function from @code{Request} to @code{IO
+Response} into a local web server.  The user can decide how to interpret the
+requests, and the library is intended for implementing Ajax APIs.")
+    (license license:bsd-3)))
+
 (define-public ghc-http-types
   (package
     (name "ghc-http-types")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]