guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#31419] [PATCH 2/6] gnu: Add ghc-array.


From: Tonton
Subject: [bug#31419] [PATCH 2/6] gnu: Add ghc-array.
Date: Fri, 11 May 2018 22:34:04 +0200

* gnu/packages/haskell.scm (ghc-array): New variable.
---
 gnu/packages/haskell.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 9b26ff56f..67faeb852 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -13,6 +13,7 @@
 ;;; Copyright © 2017, 2018 Alex Vong <address@hidden>
 ;;; Copyright © 2017 rsiddharth <address@hidden>
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2018 Tonton <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -9466,4 +9467,27 @@ system dependencies.")
 address string against RFC 5322.")
     (license license:bsd-3)))
 
+(define-public ghc-array
+  (package
+   (name "ghc-array")
+   (version "0.5.2.0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri
+      (string-append "https://hackage.haskell.org/package/array-0.5.2.0/array-";
+                     version ".tar.gz"))
+     (file-name (string-append name "-" version ".tar.gz"))
+     (sha256
+      (base32
+       "12v83s2imxb3p2crnlzrpjh0nk6lpysw9bdk9yahs6f37csa5jaj"))))
+   (build-system haskell-build-system)
+   (synopsis "Haskell Data.Array module")
+   (description "In addition to providing the Data.Array module as
+specified in the Haskell 2010 Language Report, this package also defines
+the classes IArray of immutable arrays and MArray of arrays mutable
+within appropriate monads, as well as some instances of these classes.")
+   (home-page "https://hackage.haskell.org/package/array";)
+   (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.17.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]