guix-commits
[Top][All Lists]
Advanced

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

11/13: gnu: Add ghc-js-jquery.


From: guix-commits
Subject: 11/13: gnu: Add ghc-js-jquery.
Date: Fri, 16 Aug 2019 08:23:03 -0400 (EDT)

rob pushed a commit to branch wip-haskell-updates
in repository guix.

commit 740833132d84e99898efb6e14ca7e530413c32d3
Author: John Soo <address@hidden>
Date:   Sun Jul 7 18:00:52 2019 -0700

    gnu: Add ghc-js-jquery.
    
    * gnu/packages/haskell-web.scm (ghc-js-jquery): New variable.
---
 gnu/packages/haskell-web.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 7cbf893..92fa052 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2017 rsiddharth <address@hidden>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2019 Robert Vollmert <address@hidden>
+;;; Copyright © 2019 John Soo <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1463,3 +1464,30 @@ Together with the snap-core library upon which it 
depends, it provides a
 clean and efficient Haskell programming interface to the HTTP
 protocol.")
     (license license:bsd-3)))
+
+(define-public ghc-js-jquery
+  (package
+    (name "ghc-js-jquery")
+    (version "3.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append
+         "https://hackage.haskell.org/package/js-jquery/js-jquery-";
+         version ".tar.gz"))
+       (sha256
+        (base32
+         "16q68jzbs7kp07dnq8cprdcc8fd41rim38039vg0w4x11lgniq70"))))
+    (build-system haskell-build-system)
+    ;; Tests do network IO
+    (arguments `(#:tests? #f))
+    (home-page "https://github.com/ndmitchell/js-jquery#readme";)
+    (synopsis "Obtain minified jQuery code")
+    (description
+     "This package bundles the minified jQuery code (http://jquery.com/)
+into a Haskell package, so it can be depended upon by Cabal packages.  The
+first three components of the version number match the upstream jQuery version.
+The package is designed to meet the redistribution requirements of downstream
+users (e.g. Debian).")
+    (license license:expat)))



reply via email to

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