From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4Es+IlbTEGFNPgAAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 09:03:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8AzqHVbTEGGJYwAA1q6Kng (envelope-from ) for ; Mon, 09 Aug 2021 07:03:50 +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 55F661CF60 for ; Mon, 9 Aug 2021 09:03:50 +0200 (CEST) Received: from localhost ([::1]:46228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCzK9-0006zN-6z for larch@yhetil.org; Mon, 09 Aug 2021 03:03:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCzJO-0005s4-Q0 for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCzJO-0000xl-9G for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCzJN-0003gx-VY for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH v2 19/31] gnu: Add ocaml-asn1-combinators. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 07:03:01 +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.162849254014053 (code B ref 49867); Mon, 09 Aug 2021 07:03:01 +0000 Received: (at 49867) by debbugs.gnu.org; 9 Aug 2021 07:02:20 +0000 Received: from localhost ([127.0.0.1]:55526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIh-0003ea-No for submit@debbugs.gnu.org; Mon, 09 Aug 2021 03:02:19 -0400 Received: from mout01.posteo.de ([185.67.36.65]:45281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIH-0003YD-U5 for 49867@debbugs.gnu.org; Mon, 09 Aug 2021 03:01:54 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 584B9240029 for <49867@debbugs.gnu.org>; Mon, 9 Aug 2021 09:01:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628492508; bh=rfeWpkvNgqWB5RB19T7JhV6b6jT6IctpS367USC2jbs=; h=From:To:Cc:Subject:Date:From; b=hxfiV6m7P9vmf6EhRleog/k+S7D8qZ4tsgKyuRAlU++UTQHaLisTCPnzTSTWpm0+0 LSTwfCbG7Jk37r1kEj7CtMJfPq/lVbZq/4kCr0g3ntJaa0iLKPaHa2s0nOACISQXCp 93B1JsEzsdcynjccR08vfOjfD3d0hvEuukTNPj4qmmqfHRxvbuXtSZNM6RjSWQlIG1 xQt1LGV2SsWpjG2a6DCk/0J5ZiRPSKpVxEej8mczeE7qD/IbLPXd7hQ5ALjtVPZPEW phLl355berqHkD9AjSaUfKJpLLR4HWoSTrve13v5qbnAWFP1O6c9eFKTpzGpdNc8EZ 7/evTJzHEWM9w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gjn7b5jwlz6tmK; Mon, 9 Aug 2021 09:01:47 +0200 (CEST) From: pukkamustard Date: Mon, 9 Aug 2021 07:01:12 +0000 Message-Id: <20210809070124.25641-19-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=1628492630; 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=VeqOCPld9jKcVjlzQY+uU4aoboLAlbVLET8JPVugNsU=; b=AJk/pPc64dC6pKwi5S9F+k7y+lJx4KleEUZLfscUENFuaa/ZplXK1jj7Rga7Cfb5i8CKW5 cTYl0Y4W2jSFNPVKGxxzjYQNWFpdKKRi5MteKZ3HyGH+wA2pDbOmPQNIxXtR0oIbbZnDJ/ f3/f96nFNE3u+9XNYjUjXxfxeligqJYoO/P2dh78xVJ67DJNtUKh+XQ5xX9O0VEzFye05b 7HcMAYti6O6QNdGrfOyIy8Z6QVgrek4yqosEHLL0CnTzjLmn7Gi8+ktTF4cWvcD6fP8X/l Q6ntuIG869GVbJwc+sbPyHMaSAP84viJ6EdR7yTYSiQCxzzQxBJ2JuC3lUdOtQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628492630; a=rsa-sha256; cv=none; b=rzxbE9nCIEqMkhtWcrVAj8FyONKp34OxjXI8oHbvQR02JdxVaaEmWxJLkLjuoSaEinz4hI SX7Vi0njqesDfVoAymu7ZhoOtPaW4LUjT67s9hUUNq3xiae9U+cb/gb4SeGmt0n+R58KRd lZvfC9RLP5pe0G5ikFJuNbDI+8an+3++duSqEW/W3mUPL4Z70EUTGuoDOuJRxGuOM9Hvxy 3+n0hHh0QFbRC+u33Y+0pI3G6qv151zGeGijyReKJGl6WFu+MWubEOCFG4DFzEY6y382dR 5msa1Y2WUIKNjOw+0vriLv3DftBO9EX1ZRPuPSEG4fYbrkAn/m+EZLPqDzapeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=hxfiV6m7; 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=hxfiV6m7; 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: 55F661CF60 X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: kxeb8STIyIV+ * gnu/packages/ocaml.scm (ocaml-asn1-combinators): New variable. --- gnu/packages/ocaml.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 7af276a517..de3ae3eb9d 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7758,6 +7758,41 @@ The additional Ptime_clock library provides access to a system POSIX clock and to the system's current time zone offset.") (license license:isc))) +(define-public ocaml-asn1-combinators + (package + (name "ocaml-asn1-combinators") + (version "0.2.5") + (home-page "https://github.com/mirleft/ocaml-asn1-combinators") + (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 + "0n7afzyqc3b7g7rl54ccw31431h6g145zvpzg34q0y4m5gzjv5h5")))) + (build-system dune-build-system) + (arguments `(#:test-target ".")) + (propagated-inputs + `(("ocaml-cstruct" ,ocaml-cstruct) + ("ocaml-zarith" ,ocaml-zarith) + ("ocaml-bigarray-compat" ,ocaml-bigarray-compat) + ("ocaml-stdlib-shims" ,ocaml-stdlib-shims) + ("ocaml-ptime" ,ocaml-ptime))) + (native-inputs + `(("ocaml-alcotest" ,ocaml-alcotest))) + (inputs `(("gmp" ,gmp))) + (synopsis "OCaml library for embedding typed ASN.1 grammars") + (description "@{ocaml-asn1-combinators} is an OCaml library for expressing +ASN.1 in OCaml. This allows you to skip the notation part of ASN.1, and embed +the abstract syntax directly in the language. These abstract syntax +representations can be used for parsing, serialization, or random testing. + +The only ASN.1 encodings currently supported are BER and DER.") + (license license:isc))) + (define-public js-of-ocaml (package (name "js-of-ocaml") -- 2.32.0