guix-commits
[Top][All Lists]
Advanced

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

12/14: gnu: Add ghc-js-flot.


From: guix-commits
Subject: 12/14: gnu: Add ghc-js-flot.
Date: Fri, 16 Aug 2019 14:57:38 -0400 (EDT)

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

commit 317c02daa300545ef10664143ab7478fc7788d66
Author: John Soo <address@hidden>
Date:   Sun Jul 7 18:01:54 2019 -0700

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

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 92fa052..a1350ca 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1491,3 +1491,30 @@ 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)))
+
+(define-public ghc-js-flot
+  (package
+    (name "ghc-js-flot")
+    (version "0.8.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append
+         "https://hackage.haskell.org/package/js-flot/js-flot-";
+         version ".tar.gz"))
+       (sha256
+        (base32
+         "0yjyzqh3qzhy5h3nql1fckw0gcfb0f4wj9pm85nafpfqp2kg58hv"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-http" ,ghc-http)))
+    (home-page "https://github.com/ndmitchell/js-flot#readme";)
+    (synopsis "Obtain minified flot code")
+    (description
+     "This package bundles the minified Flot code (http://www.flotcharts.org/)
+(a jQuery plotting library) into a Haskell package, so it can be depended upon
+by Cabal packages.  The first three components of the version number match the
+upstream flot 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]