From patchwork Thu Oct 31 12:46:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69689 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 ABBBF27BBEB; Thu, 31 Oct 2024 12:53:46 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 6A6CD27BBE9 for ; Thu, 31 Oct 2024 12:53:46 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6Ufu-000322-HP; Thu, 31 Oct 2024 08:53:19 -0400 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 1t6Ufn-0002uh-80 for guix-patches@gnu.org; Thu, 31 Oct 2024 08:53:13 -0400 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 1t6Ufm-00022i-VO for guix-patches@gnu.org; Thu, 31 Oct 2024 08:53:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=vWa4+yE+NyncVgD/wjuZqxU7QXmujLhFcpOdcf2n4aM=; b=JZ6cqDBFiU5YZQI+D/cltCh9igPzGnoWiyLcIVKU+BqUHsRwJ7cbC+HGWG8t3e3iAbUfbJ7zfnO0o+SG3yq3TnhhDuOChK8QDRXsRMzAoinYlGU2lAa14dzp69snWcXzfJdG3N2pES7r3YBGgHhRZXtK1o4fAJniRgxhWslF+DCO4zhzHMt3T/eA761DWlggV76CoxkZmd5PJ4spenq6aBNdHQVZSdNfqzUw5DF8o8L2RfRcE66kazYuvEO5XPin5t0JZwpkKkAQYd3yjzFpDSEDf2lzN5MX3qyvlrYwmMvv0ULXnfJ8BS1tLXtFdZvOVG5Z7YgAesQKiJbgAZtM4A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6Ufm-0007um-PG for guix-patches@gnu.org; Thu, 31 Oct 2024 08:53:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67921] [PATCH v3 18/24] gnu: Add ghc-cryptohash-sha256-bootstrap-for-9.6 Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 31 Oct 2024 12:53:10 +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: dev@jpoiret.xyz, lars@6xq.net, saku@laesvuori.fi Received: via spool by 67921-submit@debbugs.gnu.org id=B67921.173037916930260 (code B ref 67921); Thu, 31 Oct 2024 12:53:10 +0000 Received: (at 67921) by debbugs.gnu.org; 31 Oct 2024 12:52:49 +0000 Received: from localhost ([127.0.0.1]:41956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6UfR-0007rp-7f for submit@debbugs.gnu.org; Thu, 31 Oct 2024 08:52:49 -0400 Received: from 17.mo584.mail-out.ovh.net ([46.105.41.16]:45765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6UfH-0007qa-Kp for 67921@debbugs.gnu.org; Thu, 31 Oct 2024 08:52:40 -0400 Received: from director10.ghost.mail-out.ovh.net (unknown [10.109.176.8]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 4XfP6G3S5jz1TxT for <67921@debbugs.gnu.org>; Thu, 31 Oct 2024 12:52:38 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-thc2g (unknown [10.110.164.113]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id F19E81FEB5; Thu, 31 Oct 2024 12:52:37 +0000 (UTC) Received: from ngraves.fr ([37.59.142.100]) by ghost-submission-5b5ff79f4f-thc2g with ESMTPSA id 6cnAMpV9I2eSVgcA4SpeVQ (envelope-from ); Thu, 31 Oct 2024 12:52:37 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-100R00365b2b7e5-3118-47f9-99a6-0ec29ba7c33f, CD33DFF0435C6B52A7C438D6B876B70D33D893A4) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.214.74.119 Date: Thu, 31 Oct 2024 13:46:57 +0100 Message-ID: <20241031125127.14080-19-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241031125127.14080-1-ngraves@ngraves.fr> References: <20241031125127.14080-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 9049420501930205734 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdekhedggeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepueeiueekheefgfdtieehgeeghfeuleegfffgkefhueegteelvdfhfeehueejieehnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpfihikhhiphgvughirgdrohhrghenucfkphepuddvjedrtddrtddruddpkedtrddvudegrdejgedrudduledpfeejrdehledrudegvddruddttdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieejledvudesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekgedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=vWa4+yE+NyncVgD/wjuZqxU7QXmujLhFcpOdcf2n4aM=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730379158; v=1; b=jjeUGDAFkO271yJd8cGNfWdutk1FLCVYgPlzYqyQUNBWVteEtNX5+j/qzixix8Ihi/RadaZl JEddRpp1WN3VRhNIcgaz/uDIKcxD1NiYlwmgyPlZT74g7aZ7nWrZ8701/tREYG9PLk3nZ3dDBUL o4Pu153hCihU17bMBQXc64lxc2w+ieaX23fttd+x2S4yfZo7lyQENQN7/OB3kU5DdBj9EnH9AdI W7iUXPrjNKJRnLk3spcGZKUk0ZDC7lLPd+0Y1ZV3cXv8bWPtSEw6ohSCeFkwM8A4uK72e4z7+G4 frBoUyqilcmhUf4ZmByPiv/KsaMtDZCaGwmcD+dphzgUg== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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 From: Saku Laesvuori * gnu/packages/haskell.scm (ghc-cryptohash-sha256-bootstrap-for-9.6): New variable. Change-Id: I80dd73de554160f4dc904c01ea292a886f51e970 --- gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 5feef5992c..c0d2ab8c1d 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1638,6 +1638,35 @@ (define ghc-js-flot-bootstrap-for-9.6 requirements of downstream users (e.g. Debian).") (license license:expat))) +(define ghc-cryptohash-sha256-bootstrap-for-9.6 + (package + (name "ghc-cryptohash-sha256-bootstrap") + (version "0.11.102.1") + (source + (origin + (method url-fetch) + (uri (hackage-uri "cryptohash-sha256" version)) + (sha256 + (base32 + "1xkb7iqplbw4fy1122p79xf1zcb7k44rl0wmfj1q06l7cdqxr9vk")))) + (build-system haskell-build-system) + (properties '((upstream-name . "cryptohash-sha256"))) + (arguments + `(#:cabal-revision + ("1" "1hyzqv30rpj920ddnr0zypyjjlh52vyp2d140pn2byayj820rkgs") + #:haskell ,ghc-bootstrap-for-9.6 + #:tests? #f)) + (home-page "https://github.com/hvr/cryptohash-sha1") + (synopsis "SHA-256 implementation for Haskell") + (description "This Haskell package provides an incremental and +one-pass, pure API to the @uref{https://en.wikipedia.org/wiki/SHA-2, +SHA-256 cryptographic hash algorithm}, with performance close to the +fastest implementations available in other languages. + +The implementation is made in C with a haskell FFI wrapper that hides +the C implementation.") + (license license:bsd-3))) + (define ghc-base16-bytestring-bootstrap-for-9.6 (package (name "ghc-base16-bytestring-bootstrap")