From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cKImHMALDGHXCAEAgWs5BA (envelope-from ) for ; Thu, 05 Aug 2021 18:03:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6C+8F8ALDGEKCwAAbx9fmQ (envelope-from ) for ; Thu, 05 Aug 2021 16:03:12 +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 9703256AC for ; Thu, 5 Aug 2021 18:03:11 +0200 (CEST) Received: from localhost ([::1]:40666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBfpu-0008B4-Jk for larch@yhetil.org; Thu, 05 Aug 2021 12:03:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBfpm-00085Q-OY for guix-patches@gnu.org; Thu, 05 Aug 2021 12:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBfpm-0005Gy-Hd for guix-patches@gnu.org; Thu, 05 Aug 2021 12:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBfpm-0001XR-Cm for guix-patches@gnu.org; Thu, 05 Aug 2021 12:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH 22/29] gnu: Add ocaml-cstruct-unix. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Aug 2021 16: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: pukkamustard , 49867@debbugs.gnu.org Cc: pukkamustard Received: via spool by 49867-submit@debbugs.gnu.org id=B49867.16281793445847 (code B ref 49867); Thu, 05 Aug 2021 16:03:02 +0000 Received: (at 49867) by debbugs.gnu.org; 5 Aug 2021 16:02:24 +0000 Received: from localhost ([127.0.0.1]:48157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBfpA-0001WF-GB for submit@debbugs.gnu.org; Thu, 05 Aug 2021 12:02:24 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:35444 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBfp8-0001Vu-Cr for 49867@debbugs.gnu.org; Thu, 05 Aug 2021 12:02:22 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1628179332; bh=IWsdapOFdMyTiYPMXv5nP7iOhdcRJNNzoDj3FDtkpEo=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=t4/SmEImekqJUv35Iat+wGIMVKV3Z8CAQswvLx2XyqskmwpUsa+DeqQSVwfV007WD kS/GfThhIvSckUAnPRtiLNflKN68qpxyQi02w3Q8ve1Btjyt15wKOgP+gQ0+HbV6GC DfbsNgzJYqpt//ufT5dyosHsVENQZftMJWYvuty4= In-Reply-To: <20210804071545.21181-22-pukkamustard@posteo.net> References: <20210804071545.21181-1-pukkamustard@posteo.net> <20210804071545.21181-22-pukkamustard@posteo.net> Date: Thu, 05 Aug 2021 18:02:11 +0200 Message-ID: <87lf5fkhh8.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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=1628179392; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=07ciY3N9FDKJlzKY/VTB1/28UPSdZXo+a5RzZrnpurE=; b=BrMfTjU7VdDG3B4IUVs+JDPDC+AbhjXK015dIj/WKmUEZODirwn3dvrAdm6io33zWbGDVp IoMOaTatH8Cn9GxbHt/DApduVRs0FQuSNMdFqfySOJwI+9CdppefgBfFCusLyZwX/Yc/43 XbmTP4Kh4ahrO2oDjUJJPUWyWulcPmQTPTEXfmzN8+wIqpFM5cO4nQgzjt/lhJQ6ssbTBH 7jpsgvnZNyGui/M5s4PD7sJ31LKVT/98AvYJMR/IUZCHELDMVm4Q+NS97OQBl+OnNlZLmW pGvVmaI6DMWExWli2bWF5cxpmEY2t+CVf06HYzuA7cqOygCOtfRceC3YiY+fHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628179392; a=rsa-sha256; cv=none; b=Vebj+csEBhBYxQBc9TlZjHmfPk9cg5JDQeqBVg68XWC7rh6QzmvLfhk64eeWHvONAIhr9R FmfDDzJZzhhE/EGBYZXN7j08NEDcjEStULvA91KAJ3zdB75mP++AfR7vxiihr8PAjqjp45 tzoohiWOBlOW+hNC0DMVsikQReGxhj585JiVnTvXobDpZD6Fy8d9+5/s2uqs4lCmdUMMr+ I3LME707I5HXxPHi7xbohqEqvdC9Q9080dbO/DxPI96cnv1K5tKzUJusu4W8vAgGmoXDBa F4wdzm8TvubZOdqa3v24o7KzVR23uGsnipHhidDfF+lm+hQn7zopPLJmBRZB4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="t4/SmEIm"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="t4/SmEIm"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: 9703256AC X-Spam-Score: -3.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: FSboGnv41sDx --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Aug 04 2021, pukkamustard wrote: > * gnu/packages/ocaml.scm (ocaml-cstruct-unix): New variable. > --- > gnu/packages/ocaml.scm | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm > index 6effe1ff12..a9a4c8a684 100644 > --- a/gnu/packages/ocaml.scm > +++ b/gnu/packages/ocaml.scm > @@ -3412,6 +3412,22 @@ to access C-like structures directly from OCaml. = It supports both reading and > writing to these structures, and they are accessed via the Bigarray modu= le.") > (license license:isc))) >=20=20 > +(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 for ac= cessing C-like structures directly from OCaml") Keep lines at around ~80 characters (applies to the description too). Maybe drop the second half of the synopsis, so "Unix variation of the @code{ocaml-cstruct} library" The desciption already mentions =E2=80=9Caccess C-like structures directly = from OCaml.=E2=80=9D; the synopsis of =E2=80=98ocaml-cstruct=E2=80=99 also menti= ons =E2=80=9CAccess C structures via a camlp4 extension=E2=80=9D. WDYT? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmEMC4MVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x57fAP/3D/IXrg1ZiJaa2ivZQPMZlTNBLA v0Ds0SPkIJlE8u8docAiAKb0+W2xh8Mb97XXv2eVPMJJoyx1VuFh+A8uaXSZ++pc A2UnG/Ag8zgXnEPAovRkJlr5iDdQxcOr85YUC8DZ/fahPE0l9nZXQDxoWgeUyqvn 9twzAllrm+tpPbJ5o+jsMuRZ/epJVr/FrI/99qDdPRoG468oDJ285vGk4C6gyNQV eAvWKSCk8HE1pCYhS6rNbdcXYvfOEisDJtXO8lL3n3fP8IiCttM9tPJzi7GmT0sf K2ExpXUZ1jv94Xep+MhHMr6SVp43bVtqsf/LGg7k45rOsmGXAsfTmbseLBEUrLw2 KnQQ4dluvZmkFy4Fw6WMlfwH5rdGkq3hqOwFAuWNC6OPHo3HYeTQOKH9+RxM8IVH SXMqRelddi20IBIY1IXbyxfPoD7zoedUB69J9hRzQA61oQop90SJaoXacZWZWZCP Deu9igzaGXjJPyBNouDZoy9Qw3dScCJzP8lJ7brlcYwSem360mWFpfTfOMK875ID PQp59XErML960a4z4+Gumpwp7Qu8INg3JhdPeHvdvLvyb96Kt2CcYKm5ktgJ9ubF 1lik5numW/R9e5u7nxRgerWnUJEJpYldeBwL4/WuQCkLI96c5JJ9aO+bDZc4UnuZ NMkDo+kDPEBKEHW4 =XnSW -----END PGP SIGNATURE----- --=-=-=--