From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AFVNF2nTEGFNPgAAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 09:04:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2NH3EmnTEGF3VwAA1q6Kng (envelope-from ) for ; Mon, 09 Aug 2021 07:04:09 +0000 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 17F2C14200 for ; Mon, 9 Aug 2021 09:04:09 +0200 (CEST) Received: from localhost ([::1]:48256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCzKS-0008Me-44 for larch@yhetil.org; Mon, 09 Aug 2021 03:04:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCzJR-0005xJ-Jw for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCzJR-0000yi-B9 for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCzJR-0003hx-3o for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH v2 27/31] gnu: Add ocaml-ca-certs. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 07:03:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49867 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49867@debbugs.gnu.org Cc: pukkamustard Received: via spool by 49867-submit@debbugs.gnu.org id=B49867.162849254214111 (code B ref 49867); Mon, 09 Aug 2021 07:03:05 +0000 Received: (at 49867) by debbugs.gnu.org; 9 Aug 2021 07:02:22 +0000 Received: from localhost ([127.0.0.1]:55542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIk-0003fR-4h for submit@debbugs.gnu.org; Mon, 09 Aug 2021 03:02:22 -0400 Received: from mout02.posteo.de ([185.67.36.66]:55491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIO-0003Zd-Di for 49867@debbugs.gnu.org; Mon, 09 Aug 2021 03:02:00 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id B8915240106 for <49867@debbugs.gnu.org>; Mon, 9 Aug 2021 09:01:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628492514; bh=kTQiBQ56yYAmNq9/+0QYwPmEM/BQMVe18ydMwxNlZR4=; h=From:To:Cc:Subject:Date:From; b=G2TP7cBe/0P93F5gmdVKkg1+PInPgBSbujJIT68r1WEqpks/ZRlG4kY6mSuU8ydUk OjMxKBYtDCsyCODv/WEZE04KuOB5HefbqMt+wUb0zeQE6JeO4zEGL33EzZ1NaG+dOV 1GyiLD+1y6M8nTCPpnovpC79cZqENnzR5vFgxAlDLeLXq6X0A68QlFhz+6X6oH14Ua KvHYebiRoip7aROyrB+4rCapXNEenhIf3LpOGrh/cRixJouEz3SRRdp1aCL1+Nxvnp 8AEapuyLIL20f6DglWKjw5Y4dDVS09nUVpCX3/lTNOXff8iGn5AQL69f0VzDp2W0lG LmAyOylS/liYA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gjn7k1Bdcz6tmG; Mon, 9 Aug 2021 09:01:54 +0200 (CEST) From: pukkamustard Date: Mon, 9 Aug 2021 07:01:20 +0000 Message-Id: <20210809070124.25641-27-pukkamustard@posteo.net> In-Reply-To: <20210809070124.25641-1-pukkamustard@posteo.net> References: <86pmun5cp5.fsf@posteo.net> <20210809070124.25641-1-pukkamustard@posteo.net> 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628492649; 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=kMl+vSpd5kpckxyVpkuG7uXs6awlgDhU7fa/U58vVtE=; b=ApF7aErOj5+JAAz0i2VQuub3ygoMOHgtC4KIVO5xFACcXxMlAOoFXEpjY65AtqvnvcZRbV FfC5injO6XjJQH8BogeQSpWOXDBOtnN9PjiqT5LtZCnXTs97OstOiBJZkOtvqDf9hOKga1 j31HOVZICmJsWs45HfWLwnhSyrNo8UwU9gKyNRvv3Yfo784aETNOSbZMekG27SBVY5gfIG 1aiBziCtOYpthtiQeorgRjoUImrkF9A7atzgmozNeoKztp/e150r8TQjXwvmEFTVbBxzoS 6XuUnNBh4S3iuk+/YPW6VetocdWzK5qJrRM8yNgwZ+b/vAblQAcyajrzRRp3Jw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628492649; a=rsa-sha256; cv=none; b=G1nAhPk3lLyOww/CcazGn9yLu0NzenLx96NXdrvNncYocJDMbdNHKy3vwsunNlJlTeLE1M vqf7eUl3EAXMi+MDcRqCM1ue4RiJrPbCN+nxFlC2PRL/JlxR/jbd7gHGSRESK044o5YE+8 WNwdl7E8IsnOf8cH/v1GuFP5tdcyqn4rqm3J7jF1Oenemoxa+ojrMja6bklHO/2Cr6wypK N4jmbBalw06FjRzKcygR404qKMFtT75ZPCynA8GNfF690v5RpuELM5SjEdEG1dzD/X6gJD QBYW4qA2KHta4B+1vAR1YPd03hvBPs1x/vAOpZug+jzBZ5EKP4bl/ytbbeKdJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=G2TP7cBe; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=G2TP7cBe; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 17F2C14200 X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5I7L38qufLEP * gnu/packages/ocaml.scm (ocaml-ca-certs): New variable. --- gnu/packages/ocaml.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index b7bdc8c711..b3becac967 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8002,6 +8002,44 @@ which is also implemented by this library --- namely PKCS 1, PKCS 5, PKCS 7, PKCS 8, PKCS 9, PKCS 10, and PKCS 12.") (license license:bsd-2))) +(define-public ocaml-ca-certs + (package + (name "ocaml-ca-certs") + (version "0.2.1") + (home-page "https://github.com/mirage/ca-certs") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qkxdrqyah24fz80hwkycdj50nybfjfz9b04qscv01r2ifb0kqy5")))) + (build-system dune-build-system) + (arguments `(#:test-target "." + ;; Tests are failing as they require certificates to be in /etc/ssl/certs + #:tests? #f)) + (propagated-inputs + `(("ocaml-astring" ,ocaml-astring) + ("ocaml-bos" ,ocaml-bos) + ("ocaml-fpath" ,ocaml-fpath) + ("ocaml-rresult" ,ocaml-rresult) + ("ocaml-ptime" ,ocaml-ptime) + ("ocaml-logs" ,ocaml-logs) + ("ocaml-mirage-crypto" ,ocaml-mirage-crypto) + ("ocaml-x509" ,ocaml-x509))) + (native-inputs + `(("ocaml-alcotest" ,ocaml-alcotest))) + (synopsis + "Detect root CA certificates from the operating system") + (description + "TLS requires a set of root anchors (Certificate Authorities) to +authenticate servers. This library exposes this list so that it can be +registered with ocaml-tls.") + (license license:isc))) + (define-public js-of-ocaml (package (name "js-of-ocaml") -- 2.32.0