gnu: Add ghc-chart-cairo.

* gnu/packages/haskell.scm (ghc-chart-cairo): New variable.
This commit is contained in:
Ricardo Wurmus 2018-10-02 18:28:52 +02:00 committed by Ricardo Wurmus
parent 7df25c77c5
commit 562cfae330
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 27 additions and 0 deletions

View File

@ -10664,6 +10664,33 @@ various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG
documents, amongst others.") documents, amongst others.")
(license license:bsd-3))) (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 (define-public ghc-weigh
(package (package
(name "ghc-weigh") (name "ghc-weigh")