From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YGugFl/TEGGdQAAAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 09:03:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ePw3El/TEGFrSQAAB5/wlQ (envelope-from ) for ; Mon, 09 Aug 2021 07:03:59 +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 EEE69141EE for ; Mon, 9 Aug 2021 09:03:58 +0200 (CEST) Received: from localhost ([::1]:47074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCzKH-0007ZX-VX for larch@yhetil.org; Mon, 09 Aug 2021 03:03:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCzJP-0005sz-B4 for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCzJO-0000xp-PU 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 1mCzJO-0003h4-BW for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH v2 25/31] gnu: Add ocaml-cstruct-unix. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 07:03:02 +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.162849254014060 (code B ref 49867); Mon, 09 Aug 2021 07:03:02 +0000 Received: (at 49867) by debbugs.gnu.org; 9 Aug 2021 07:02:20 +0000 Received: from localhost ([127.0.0.1]:55528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIi-0003ec-0B for submit@debbugs.gnu.org; Mon, 09 Aug 2021 03:02:20 -0400 Received: from mout01.posteo.de ([185.67.36.65]:53017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIH-0003Xp-VR 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 9439B24002A for <49867@debbugs.gnu.org>; Mon, 9 Aug 2021 09:01:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628492513; bh=LQKhDfC76P83xcLITgp25GRls1zTWmVV/Jcx/+8j4Ow=; h=From:To:Cc:Subject:Date:From; b=i315vx+7zIE9ZBvG12/+LMirOfhdDw9jtnIuOMGUzKI2Es5beBzH7Zw+fLViIM7Gg V7uURnkNSUdxBwW1daESaCvF3h7cZnRG6a+zDA+apxE8Yx2r0bd2CujEyT7ZhQmnxt Gvhv8y5Lkol4pBojjroz1E4wkoOiSl3WlV3YdF9hvFlDLbMMdiIJcIJGkTx8qZeInQ 5bW2Rzek3RDukUcAY8VoXp0jc0dDfZUHRrY8fkSZ5KoEWjH0v2CBn4Pi7J8vyAqZbo dzaWLL0QQzEucP/6emzSi8884Ej/ArZxSPA0sg4nbmMX6x4hLWO5sGfgoPQkjeL/8Q MlHPy6BUS0+/A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gjn7h4ppMz6tmG; Mon, 9 Aug 2021 09:01:52 +0200 (CEST) From: pukkamustard Date: Mon, 9 Aug 2021 07:01:18 +0000 Message-Id: <20210809070124.25641-25-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=1628492639; 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=NXqL73CGiX9LhfYSdfarK2+MwanKzOY+8B+UzYqbUT8=; b=Oqc/hEvBMG8S8EzJM2/lJMcRXdSWVzma975BDBBpK6uo2uyLMRnTl9zt9zI+pQx9WTu3+V CZC79vsmhYZOYpHer3ZjK9OFjpWChZyi79d52qVuCRcTp8jgfdkvwvJV4UiEwfxgUf2b33 riDp+o7kA6UgCTnLLxanXb3cUgPQBq8RfdcTyQwEYjqyi28CSnecmXPIDkJWGOPreorGMO xwPa+RBVOYdYtsYL2S990MeUKTDSsDrxwGq1cSZr3fv+BQ/2PQMouqZKgm25toWGgBKbeu 6xB1nN+yuR8KeuajeIqgG4P/Dc60BToEWi6+cUjOAORDW+3KV40oGxllRYyfqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628492639; a=rsa-sha256; cv=none; b=orXIWrxtMDY6BE24XeO/w42l0w7lPCgs30UhQ32xDSATnnwdKRJHwUHE2WRj6at8EoVG5y QrpOuEydNpOFEq4DPVyu7g0wpewMnXrqDsrpcnBx/9NYF2DtmGXkHrhp266HSmz0mLJyFg cHD4L9dpe3jSfS0vO3yQA3yvUtU7OuPvuE08OJvXi/7kFkcAvvvIalKhw+PEULZjlKCh9z OqEHXbVskXwhSnZUxy+uF7kL9UJXLszOfUl9X9eBFOcqvE6xMOvoax2oJQPmKj4Gwy4hpg NRh/iMzFVXIKri4ZN5PtNDGej+008/wbqVDc2POSe27hY1FMeJ8f5+TFk4QzCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=i315vx+7; 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=i315vx+7; 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: EEE69141EE X-Spam-Score: 3.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: dptbyH6FTqlK * gnu/packages/ocaml.scm (ocaml-cstruct-unix): New variable. --- gnu/packages/ocaml.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index df825d1ec3..e358042e41 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3412,6 +3412,23 @@ to access C-like structures directly from OCaml. It supports both reading and writing to these structures, and they are accessed via the Bigarray module.") (license license:isc))) +(define-public ocaml-cstruct-unix + (package + (inherit ocaml-cstruct) + (name "ocaml-cstruct-unix") + (build-system dune-build-system) + (arguments + `(#:package "cstruct-unix" + #:test-target ".")) + (propagated-inputs + `(("ocaml-cstruct" ,ocaml-cstruct))) + (synopsis "Unix variation of the @code{ocaml-cstruct} library") + (description "Cstruct is a library and syntax extension to make it easier +to access C-like structures directly from OCaml. It supports both reading and +writing to these structures, and they are accessed via the `Bigarray` +module.") + (license license:isc))) + (define-public ocaml-hex (package (name "ocaml-hex") -- 2.32.0