Subject: [PATCH 12/13] gnu: Add ghc-deque

From: Thomas Albers <[email-masked]>
Date: Mon, 18 Apr 2022 20:09:56 +0200

---
 gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index cd6de908c6..2b8ea5c8e8 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16369,3 +16369,30 @@ (define-public ghc-strict-list
     (description
      "Implementation of strict linked list with care taken about stack.")
     (license license:expat)))
+
+(define-public ghc-deque
+  (package
+    (name "ghc-deque")
+    (version "0.4.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "deque" version))
+       (sha256
+        (base32 "1x0rjdqgf4kwgpyisx618waz6r9gki3ivav9m4biysyc04hdhinn"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (inputs (list ghc-hashable ghc-strict-list))
+    (native-inputs
+     (list ghc-quickcheck
+           ghc-quickcheck-instances
+           ghc-rerebase
+           ghc-tasty
+           ghc-tasty-hunit
+           ghc-tasty-quickcheck))
+    (home-page "https://github.com/nikita-volkov/deque")
+    (synopsis "Double-ended queues")
+    (description
+     "Strict and lazy implementations of Double-Ended Queue based on head-tail
+linked list.")
+    (license license:expat)))
-- 
2.35.1