summary refs log tree commit diff
diff options
context:
space:
mode:
authorng0 <ng0@we.make.ritual.n0.is>2016-09-18 16:09:59 +0000
committerLeo Famulari <leo@famulari.name>2016-09-22 20:09:55 -0400
commite1a56bb258728a1ece5cec378efd497fe1dfbc27 (patch)
tree91024dc438cc2f840ec8799e96cf7902697cf70d
parent1d9db656c9498510e6b96d36b52838231dbd034e (diff)
downloadguix-e1a56bb258728a1ece5cec378efd497fe1dfbc27.tar.gz
gnu: Add ghc-colour.
* gnu/packages/haskell.scm (ghc-colour): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
-rw-r--r--gnu/packages/haskell.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 13c5defcdd..8ed658c17a 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6887,4 +6887,26 @@ functions follow the same style as ordinary lists, so it is easy to convert code
 from using 'String' to 'ByteString'.")
     (license license:bsd-3)))
 
+(define-public ghc-colour
+(package
+  (name "ghc-colour")
+  (version "2.3.3")
+  (source
+   (origin
+     (method url-fetch)
+     (uri (string-append
+           "https://hackage.haskell.org/package/colour/colour-"
+           version ".tar.gz"))
+     (sha256
+      (base32
+       "1qmn1778xzg07jg9nx4k1spdz2llivpblf6wwrps1qpqjhsac5cd"))))
+  (build-system haskell-build-system)
+  (home-page "http://www.haskell.org/haskellwiki/Colour")
+  (synopsis "Model for human colour perception")
+  (description
+   "This package provides a data type for colours and transparency.
+Colours can be blended and composed.  Various colour spaces are
+supported.  A module of colour names (\"Data.Colour.Names\") is provided.")
+  (license license:expat)))
+
 ;;; haskell.scm ends here