aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Sample <samplet@ngyro.com>2019-11-13 01:41:24 -0500
committerTimothy Sample <samplet@ngyro.com>2019-11-20 20:48:54 -0500
commitf9f1a6300e751efd622d66a6bb7a4303d3ee060b (patch)
tree388072cee12e435d1fd8e0a47d64316cdde17d13
parentfd33ffa03a58b3a279feeba1643f772bb6272f80 (diff)
downloadpatches-f9f1a6300e751efd622d66a6bb7a4303d3ee060b.tar
patches-f9f1a6300e751efd622d66a6bb7a4303d3ee060b.tar.gz
gnu: Add ghc-diagrams-lib.
* gnu/packages/haskell-xyz.scm (ghc-diagrams-lib): New variable.
-rw-r--r--gnu/packages/haskell-xyz.scm54
1 files changed, 54 insertions, 0 deletions
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 86b7d23e3b..ccffe2d89b 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -2864,6 +2864,60 @@ diagrams, an embedded domain-specific language for compositional,
declarative drawing.")
(license license:bsd-3)))
+(define-public ghc-diagrams-lib
+ (package
+ (name "ghc-diagrams-lib")
+ (version "1.4.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "diagrams-lib/diagrams-lib-" version ".tar.gz"))
+ (sha256
+ (base32
+ "175yzi5kw4yd8ykdkpf64q85c7j3p89l90m3h6qcsx9ipv6av9r5"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-semigroups" ,ghc-semigroups)
+ ("ghc-monoid-extras" ,ghc-monoid-extras)
+ ("ghc-dual-tree" ,ghc-dual-tree)
+ ("ghc-diagrams-core" ,ghc-diagrams-core)
+ ("ghc-diagrams-solve" ,ghc-diagrams-solve)
+ ("ghc-active" ,ghc-active)
+ ("ghc-colour" ,ghc-colour)
+ ("ghc-data-default-class" ,ghc-data-default-class)
+ ("ghc-fingertree" ,ghc-fingertree)
+ ("ghc-intervals" ,ghc-intervals)
+ ("ghc-lens" ,ghc-lens)
+ ("ghc-tagged" ,ghc-tagged)
+ ("ghc-optparse-applicative" ,ghc-optparse-applicative)
+ ("ghc-juicypixels" ,ghc-juicypixels)
+ ("ghc-hashable" ,ghc-hashable)
+ ("ghc-linear" ,ghc-linear)
+ ("ghc-adjunctions" ,ghc-adjunctions)
+ ("ghc-distributive" ,ghc-distributive)
+ ("ghc-fsnotify" ,ghc-fsnotify)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)
+ ("ghc-profunctors" ,ghc-profunctors)
+ ("ghc-exceptions" ,ghc-exceptions)
+ ("ghc-cereal" ,ghc-cereal)))
+ (native-inputs
+ `(("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
+ ("ghc-numeric-extras" ,ghc-numeric-extras)))
+ (arguments
+ `(#:cabal-revision
+ ("3" "157y2qdsh0aczs81vzlm377mks976mpv6y3aqnchwsnr7apzp8ai")))
+ (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
+ (synopsis "Embedded domain-specific language for declarative graphics")
+ (description "Diagrams is a flexible, extensible embedded
+domain-specific language (EDSL) for creating graphics of many types.
+Graphics can be created in arbitrary vector spaces and rendered with
+multiple backends. This package provides a standard library of
+primitives and operations for creating diagrams.")
+ (license license:bsd-3)))
+
(define-public ghc-diagrams-solve
(package
(name "ghc-diagrams-solve")