From patchwork Thu Feb 15 08:49:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saku Laesvuori X-Patchwork-Id: 60354 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 82EB927BBEA; Thu, 15 Feb 2024 08:53:35 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0EACF27BBE2 for ; Thu, 15 Feb 2024 08:53:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raXTA-0000Ph-NR; Thu, 15 Feb 2024 03:51:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raXT7-0000MV-7Q for guix-patches@gnu.org; Thu, 15 Feb 2024 03:51:45 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1raXT6-00042i-EU for guix-patches@gnu.org; Thu, 15 Feb 2024 03:51:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raXTO-000182-UM; Thu, 15 Feb 2024 03:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67921] [PATCH v2 05/23] gnu: Add ghc-hashable-bootstrap-for-9.6 Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Thu, 15 Feb 2024 08:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67921 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67921@debbugs.gnu.org Cc: Saku Laesvuori , Lars-Dominik Braun X-Debbugs-Original-To: guix-patches@gnu.org, 67921@debbugs.gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun Received: via spool by 67921-submit@debbugs.gnu.org id=B67921.17079870684057 (code B ref 67921); Thu, 15 Feb 2024 08:52:02 +0000 Received: (at 67921) by debbugs.gnu.org; 15 Feb 2024 08:51:08 +0000 Received: from localhost ([127.0.0.1]:53996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raXSV-00012w-0B for submit@debbugs.gnu.org; Thu, 15 Feb 2024 03:51:08 -0500 Received: from vmi571514.contaboserver.net ([75.119.130.101]:55060 helo=mail.laesvuori.fi) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raXSR-000122-L1 for 67921@debbugs.gnu.org; Thu, 15 Feb 2024 03:51:04 -0500 Received: from X-kone.org.aalto.fi (unknown [130.233.144.187]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 7B716343679; Thu, 15 Feb 2024 09:51:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1707987082; bh=r9uYeMeZ/qMDceZanztoVqp0O16vy/qrhSx+dSDbySY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=n7cXq51i0MDCVtl5qKUfvV7Y3ASpxckRAoc986rj36D7oU6gQ8mbQ1NfwL1L0erXp t1Pw8euRSbZNDuiMKi5V/ydXJyJrHkJPHpejRUgOmpNQyENJmgVtWxaIp/WE+aT5XH a4Uuz8qBqd6u/XVGSqyKz6UE+JW0tXF2QvZ/aXko= Date: Thu, 15 Feb 2024 10:49:46 +0200 Message-ID: <78c6174b635442b945df8fde9449c329e92fdbc6.1707827100.git.saku@laesvuori.fi> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Saku Laesvuori X-ACL-Warn: , Saku Laesvuori via Guix-patches X-Patchwork-Original-From: Saku Laesvuori via Guix-patches via From: Saku Laesvuori Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 717181b424..307231e8f3 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1578,4 +1578,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