Subject: [bug#67921] [PATCH haskell-team 05/23] gnu: Add ghc-hashable-bootstrap-for-9.6

From: Saku Laesvuori <[email-masked]>
Date: Fri, 7 Jun 2024 10:49:36 +0300

* gnu/packages/haskell.scm (ghc-hashable-bootstrap-for-9.6): New
  variable.

Change-Id: Id96f7df459a3db56747cd4204b32b7ad253139a4
---
 gnu/packages/haskell.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index c2ce7d9e16..bd30f2804d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1674,4 +1674,27 @@ (define ghc-clock-bootstrap-for-9.6
 timer functions of different operating systems via a unified API.")
     (license license:bsd-3)))
 
+(define ghc-hashable-bootstrap-for-9.6
+  (package
+    (name "ghc-hashable-bootstrap")
+    (version "1.4.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "hashable" version))
+              (sha256
+               (base32
+                "11sycr73821amdz8g0k8c97igi4z7f9xdvgaxlkxhsp6h310bcz1"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "hashable")))
+    (arguments (list #:tests? #f
+                     #:haskell ghc-bootstrap-for-9.6))
+    (home-page "http://github.com/haskell-unordered-containers/hashable")
+    (synopsis "Class for types that can be converted to a hash value")
+    (description
+     "This package defines a class, @code{Hashable}, for types that can be
+converted to a hash value.  This class exists for the benefit of hashing-based
+data structures.  The package provides instances for basic types and a way to
+combine hash values.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.41.0