diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2018-10-02 18:28:52 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-10-05 23:59:25 +0200 |
commit | 562cfae330e2b8382ab106478514d833187c7d15 (patch) | |
tree | 002c38419171d301d1c2147b1770989107fbaa83 | |
parent | 7df25c77c5d57d127e556b6527b69abce82ef814 (diff) | |
download | patches-562cfae330e2b8382ab106478514d833187c7d15.tar patches-562cfae330e2b8382ab106478514d833187c7d15.tar.gz |
gnu: Add ghc-chart-cairo.
* gnu/packages/haskell.scm (ghc-chart-cairo): New variable.
-rw-r--r-- | gnu/packages/haskell.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 964b14749f..c040965e92 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") |