From 9eed9d4c3397ac54a02b28bf4feafcce39bed87b Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 18:00:52 -0700 Subject: [PATCH 11/13] gnu: Add ghc-js-jquery. --- gnu/packages/haskell-web.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 6b7103562f..57bcc4b027 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -1347,3 +1347,29 @@ derivations of regular expressions.") "The Haskell XML Toolbox bases on the ideas of HaXml and HXML, but introduces a more general approach for processing XML with Haskell.") (license license:expat))) + +(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) + (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))) -- 2.22.0