From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CHOqAsECzmWvOAEAqHPOHw:P1 (envelope-from ) for ; Thu, 15 Feb 2024 13:25:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CHOqAsECzmWvOAEAqHPOHw (envelope-from ) for ; Thu, 15 Feb 2024 13:25:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=v2oSrnY6; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707999936; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4zAb6iZ8Nsmfxo8dRvTfuKTcz0f5n6XCjVRqdaVeaSY=; b=VCXWSQxOC55kMFyvcXkt+nVGqRgHgyrvUCzFpeOSliKFnQ3Vuu1nSBq1rnklC8hcnd8xqr x2/JYbJai1QplO6YUFbsCxlacmGjItZd8nBIdx6Ur5/VVizkjE6epaSUYXmLq4P9HM2OQa 4igMNFvdUAtRyIx89V3Y61K9Jgdt6RnJQnaZZAA1Gv+fFXrg5BFCEBaEAizA9TlYlJvSxE WyKCneGNLFJisyi6M2flGxA9mC4wh/x8aNSfEEv4BqOhVDJvqNN6xWp+g3JL8aYGbwyae3 8wTPJeDGQKnUX6n7zhLYQ1nhfhjgY8c9Ldz+p5wDiOdyLXcKapf33GcJriNpsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=v2oSrnY6; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707999936; a=rsa-sha256; cv=none; b=BqTY6s0W6KQvseDwPsV6fyYzTJoJYSnMoNDSeNOFCheqaVck839I/0QQbJFLkphno8MC3w gnkYSMMb2PcHVTf3EjWshDnSzUPehaVRedEatf+KIlWvsB0Isgk+NnYwIlR/vOGJXicwdd CIAZ2oM/kZx9cs+n+zz7uLei77aC0sVjTFTaeb5QJPFvei5j6wpgYhGFAIbvri8TIBpLZk /s4mwRtaN04yTSFn9gCQBmqAHOpmv4Fnm2usKZE0RzH3r8/KYs8EQZMtMfZ8erT0Na/68B jq0sg1Rj97uJp824o0HlyFALj/w+aCcycF/yckFWnH+R7qcY/HwwdCoHFCikLw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D14BB6FCEF for ; Thu, 15 Feb 2024 13:25:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raamo-0002Dc-9n; Thu, 15 Feb 2024 07:24:18 -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 1raamm-0002Cp-5O for guix-patches@gnu.org; Thu, 15 Feb 2024 07:24:16 -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 1raaml-0006H6-Rf for guix-patches@gnu.org; Thu, 15 Feb 2024 07:24:15 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raan4-0001fm-BW; Thu, 15 Feb 2024 07:24:34 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69160] [PATCH v2 17/23] gnu: Add ghc-cryptohash-sha256-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 12:24:34 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69160 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69160@debbugs.gnu.org, 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 submit@debbugs.gnu.org id=B.17079998256034 (code B ref -1); Thu, 15 Feb 2024 12:24:34 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2024 12:23:45 +0000 Received: from localhost ([127.0.0.1]:54451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raamG-0001Z9-Rw for submit@debbugs.gnu.org; Thu, 15 Feb 2024 07:23:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:42358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raaNy-0006TL-LM for submit@debbugs.gnu.org; Thu, 15 Feb 2024 06:58:39 -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 1raXSR-0000FR-Vq for guix-patches@gnu.org; Thu, 15 Feb 2024 03:51:04 -0500 Received: from vmi571514.contaboserver.net ([75.119.130.101] helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raXSQ-0003oe-7z for guix-patches@gnu.org; Thu, 15 Feb 2024 03:51:03 -0500 Received: from X-kone.org.aalto.fi (unknown [130.233.144.187]) by mail.laesvuori.fi (Postfix) with ESMTPSA id BFBCD34367C; Thu, 15 Feb 2024 09:51:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1707987088; bh=Th/yrjWkXBU0OObv8igVYGgPiRpXu0IXr+ep8cmkXPc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=v2oSrnY6zQ3Ji5KjJgugaCoCinNTTjEhOF/Pbmolv0mLq6AZgsUdgCIiYrXcE7mLM rYlPUbjdpQXN2NDsJS1VyWzjDngQYY4tmqhcGlMjOLuOV8sxGj+LfiXttByNkjeYGk 4zwEn/mh7Xap3iGdmMHf+lX2QXgZJyeBdcstVwE0= Date: Thu, 15 Feb 2024 10:49:58 +0200 Message-ID: <5024925e614ba9b15470aabd183169ce60c4e273.1707827100.git.saku@laesvuori.fi> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 From: Saku Laesvuori via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.81 X-Spam-Score: -4.81 X-Migadu-Queue-Id: D14BB6FCEF X-TUID: 2EXQY8MVNtNh Message-ID: <20240215084958.m4xEQ0nKPIUdp7gxleLB_1pR0aQadnEjTR9b7tVezZ0@z> * 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 348a67f1c5..d163331b2b 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1533,6 +1533,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") -- 2.41.0