guix-commits
[Top][All Lists]
Advanced

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

04/24: gnu: Add ghc-chart-cairo.


From: Ricardo Wurmus
Subject: 04/24: gnu: Add ghc-chart-cairo.
Date: Fri, 5 Oct 2018 17:59:47 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 562cfae330e2b8382ab106478514d833187c7d15
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Oct 2 18:28:52 2018 +0200

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 964b147..c040965 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -10664,6 +10664,33 @@ various backends that allows rendering to Gtk windows, 
PDF, PS, PNG and SVG
 documents, amongst others.")
     (license license:bsd-3)))
 
+(define-public ghc-chart-cairo
+  (package
+    (name "ghc-chart-cairo")
+    (version "1.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/";
+                           "Chart-cairo-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0iany6lfyfb1cw0pxfs5aw5k0a6x41m6ql9ad9w59biwdckbsyqr"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-old-locale" ,ghc-old-locale)
+       ("ghc-cairo" ,ghc-cairo)
+       ("ghc-colour" ,ghc-colour)
+       ("ghc-data-default-class" ,ghc-data-default-class)
+       ("ghc-operational" ,ghc-operational)
+       ("ghc-lens" ,ghc-lens)
+       ("ghc-chart" ,ghc-chart)))
+    (home-page "https://github.com/timbod7/haskell-chart/wiki";)
+    (synopsis "Cairo backend for Charts")
+    (description "This package provides a Cairo vector graphics rendering
+backend for the Charts library.")
+    (license license:bsd-3)))
+
 (define-public ghc-weigh
   (package
     (name "ghc-weigh")



reply via email to

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