lfam pushed a commit to branch master
in repository guix.

commit e1a56bb258728a1ece5cec378efd497fe1dfbc27
Author: ng0 <n...@we.make.ritual.n0.is>
Date:   Sun Sep 18 16:09:59 2016 +0000

    gnu: Add ghc-colour.
    
    * gnu/packages/haskell.scm (ghc-colour): New variable.
    
    Signed-off-by: Leo Famulari <l...@famulari.name>
---
 gnu/packages/haskell.scm |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 13c5def..8ed658c 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

Reply via email to