From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mGbDAYRJnmZhbwAA62LTzQ:P1 (envelope-from ) for ; Mon, 22 Jul 2024 11:59:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mGbDAYRJnmZhbwAA62LTzQ (envelope-from ) for ; Mon, 22 Jul 2024 13:59:00 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=oXkgO6Ma; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721649539; h=from:from:sender:sender: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=tM11IhMeRmgXQGOPMIZB+V1ghJH5x/E4ojRjBWQ8TPc=; b=bebpjdl+tkTN1HmMBQ1rThkdcWKM3+0qZy8VXxJrV6st6ORcYwbWvVsFu5u3CMMNK1osX6 G8TQ/pZaMi5SKXv4xXaLSeIc9RQW1Z7bwbbTUpaY+/cEq8A3cpkhkgPZdNmZa66A2rAPOt IrkLnfWagcQSjDTfmYltHwNJE8opyjtpmaeohik2cidsX+FdUBH2O4q8CRTsW17chhj4nw d2W2tYhOJfs206hJeeG5XkjXVxg1Qt4unDBwg5b48f+3A7YV1Z03Qm0WlL5oZG1QbVGGPS pqg8PoeP4uNLfuvuj3vp7qqlcKN0UUjL9vtMocs/8375+Qg10kvrtWzWytyDPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721649539; a=rsa-sha256; cv=none; b=ciYANCmkmxldLDMOHsAWqsRwNedKZeQT+uNxB13CBadklyPi0WjnlnqRxAnR/ANNSIuUPK KxTvtld52v724lNozD/iPp83chdlqEDmjRtBcJtFa1Q22dCeFZlZwEI19e56fLuDZGDoUk CeoJpNH2bPuGawxMsiQK0rM3t+4SRnALN+ckqC2C6HaJWLwbZbGP7HAw3TGSt45aNUKK/g r8UIex0Rl98GmDKhO9M/WrL0pPxKl3PHIWrZPFWvUjCfSSvyLaw91j/HbU1BWpHzrMnmZQ SsfyLlj5rT+ELoiHK/XxJSOaOeBT+DbpITvdUpFpGTDbqkKhtfeUB30nqnHN7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=oXkgO6Ma; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); 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" 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 DABA1670EA for ; Mon, 22 Jul 2024 13:58:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVrFz-0006x2-MN; Mon, 22 Jul 2024 07:31:07 -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 1sVrFw-0006v4-Ju for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:04 -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 1sVrFs-0007Nw-Hj for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVrFv-0006lK-G0 for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44518] [PATCH v3 02/25] gnu: Add ghc-crypton-x509. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jul 2024 11:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44518 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 71938@debbugs.gnu.org Cc: rekado@elephly.net, Romain GARBAGE , 44518@debbugs.gnu.org Received: via spool by 44518-submit@debbugs.gnu.org id=B44518.172164785024180 (code B ref 44518); Mon, 22 Jul 2024 11:31:03 +0000 Received: (at 44518) by debbugs.gnu.org; 22 Jul 2024 11:30:50 +0000 Received: from localhost ([127.0.0.1]:56960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVrFh-0006GL-8E for submit@debbugs.gnu.org; Mon, 22 Jul 2024 07:30:49 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:27669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVrFO-0005En-5r; Mon, 22 Jul 2024 07:30:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=tM11IhMeRmgXQGOPMIZB+V1ghJH5x/E4ojRjBWQ8TPc=; b=oXkgO6MaDYZbf+iAkDSSw1/I05GKf/mtxjjR4yEbO5m70A9r5vWqCAXb rQTI/8CF4zVPHeCi+z9XYam/LJdeP7KPsawXJxYwj7B8oZcWzzgESz3mT PAWVbBSEQu9yjIomBR09HhJuddAjMNFbhTq4nnJ59wZuVklhAtGfGaoez w=; X-IronPort-AV: E=Sophos;i="6.09,228,1716242400"; d="scan'208";a="92688892" Received: from unknown (HELO guix-A102.bordeaux.inria.fr) ([193.50.110.122]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2024 13:30:17 +0200 From: Romain GARBAGE Date: Mon, 22 Jul 2024 13:27:59 +0200 Message-ID: <20240722113008.9057-3-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240722113008.9057-1-romain.garbage@inria.fr> References: <20240722113008.9057-1-romain.garbage@inria.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , 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-Queue-Id: DABA1670EA X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.81 X-Spam-Score: -3.81 X-TUID: JlsclSQI7nbM * gnu/packages/haskell-crypto.scm (ghc-crypton-x509): New variable. Change-Id: I0bea5088c2fd23b77f22a2017303bac849c45c29 --- gnu/packages/haskell-crypto.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm index 12ffd10743..9bbf3ee0fc 100644 --- a/gnu/packages/haskell-crypto.scm +++ b/gnu/packages/haskell-crypto.scm @@ -652,6 +652,37 @@ (define-public ghc-crypton @end itemize") (license license:bsd-3))) +(define-public ghc-crypton-x509 + (package + (name "ghc-crypton-x509") + (version "1.7.6") + (source + (origin + (method url-fetch) + (uri (hackage-uri "crypton-x509" version)) + (sha256 + (base32 "1zyaz0krf08g36g30zr5wn8f2x51l4dj2zcjnhpiw9h05p54mdzb")))) + (build-system haskell-build-system) + (properties '((upstream-name . "crypton-x509"))) + (inputs (list ghc-memory + ghc-hourglass + ghc-pem + ghc-asn1-types + ghc-asn1-encoding + ghc-asn1-parse + ghc-crypton)) + (native-inputs (list ghc-tasty ghc-tasty-quickcheck ghc-x509)) + (arguments + `(#:cabal-revision ("1" + "10a2x47znhbayyfr6fqgq27623akpycyjbfxz4hnavavf1x6ary5") + ;; build phase fails when tests are activated. + ;; See https://github.com/kazu-yamamoto/crypton-certificate/pull/7 + #:tests? #f)) + (home-page "https://github.com/kazu-yamamoto/crypton-certificate") + (synopsis "X509 reader and writer") + (description "Generic X509 support for Haskell.") + (license license:bsd-3))) + (define-public ghc-cprng-aes (package (name "ghc-cprng-aes") -- 2.45.1