[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48813] [PATCH 1/8] gnu: Add ghc-strict-list.
From: |
Xinglu Chen |
Subject: |
[bug#48813] [PATCH 1/8] gnu: Add ghc-strict-list. |
Date: |
Thu, 03 Jun 2021 17:58:02 +0200 |
* gnu/packages/haskell-xyz.scm (ghc-strict-list): New variable.
---
gnu/packages/haskell-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 1fa7310fab..f0054948f6 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -28,6 +28,7 @@
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com>
;;; Copyright © 2020 Christopher Lemmer Webber <cwebber@dustycloud.org>
+;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -12802,6 +12803,39 @@ types, such as pairs, @code{Maybe} and @code{Either}.
It also contains strict
IO operations.")
(license license:bsd-3)))
+(define-public ghc-strict-list
+ (package
+ (name "ghc-strict-list")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/strict-list/strict-list-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "06mv208bspfl2mh1razi6af3fri8w7f5p3klkc3b9yx5ddv3hwxs"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-hashable" ,ghc-hashable)
+ ("ghc-semigroupoids" ,ghc-semigroupoids)))
+ (native-inputs
+ `(("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-quickcheck-instances"
+ ,ghc-quickcheck-instances)
+ ("ghc-rerebase" ,ghc-rerebase)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
+ (home-page
+ "https://github.com/nikita-volkov/strict-list")
+ (synopsis "Strict linked list")
+ (description "This package provides an implementation of strict linked
+list with care taken about stack.")
+ (license license:expat)))
+
(define-public ghc-stringbuilder
(package
(name "ghc-stringbuilder")
--
2.31.1
- [bug#48813] [PATCH 0/8] Add ghc-brittany and dependencies, Xinglu Chen, 2021/06/03
- [bug#48813] [PATCH 8/8] gnu: Add ghc-brittany., Xinglu Chen, 2021/06/03
- [bug#48813] [PATCH 1/8] gnu: Add ghc-strict-list.,
Xinglu Chen <=
- [bug#48813] [PATCH 3/8] gnu: Add ghc-multistate., Xinglu Chen, 2021/06/03
- [bug#48813] [PATCH 4/8] gnu: Add ghc-monad-memo., Xinglu Chen, 2021/06/03
- [bug#48813] [PATCH 5/8] gnu: Add ghc-deque., Xinglu Chen, 2021/06/03
- [bug#48813] [PATCH 7/8] gnu: Add ghc-czipwith., Xinglu Chen, 2021/06/03
- [bug#48813] [PATCH 2/8] gnu: Add ghc-neat-interpolation., Xinglu Chen, 2021/06/03
- [bug#48813] [PATCH 6/8] gnu: Add ghc-data-tree-print., Xinglu Chen, 2021/06/03