From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GINjC35W7WOtZAEAbAwnHQ (envelope-from ) for ; Wed, 15 Feb 2023 23:02:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kOxjC35W7WNmCgEA9RJhRA (envelope-from ) for ; Wed, 15 Feb 2023 23:02:38 +0100 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 0A65F2BE07 for ; Wed, 15 Feb 2023 23:02:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPpq-0001FC-2x; Wed, 15 Feb 2023 17:01:06 -0500 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 1pSPpn-0001Cy-Sd for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSPpn-00029X-Fn for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPpn-0006rA-Bo for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 02/39] gnu: Add ocaml-macaddr. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:01:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60673 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: 60673@debbugs.gnu.org Cc: raingloom Received: via spool by 60673-submit@debbugs.gnu.org id=B60673.167649845526232 (code B ref 60673); Wed, 15 Feb 2023 22:01:03 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:00:55 +0000 Received: from localhost ([127.0.0.1]:34188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpe-0006or-Jc for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:55 -0500 Received: from mx0.riseup.net ([198.252.153.6]:50700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpY-0006ni-6H for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:48 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PHBpf61KPz9syh for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498442; bh=iSzeM1ALDI8XRs1DbTyd6PScJWbFBoB6uGemipKw8sk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tCAZfQanlEzWQYguMZWhx0Ai8wuFcpsDdQjhHzP8BwZuIn+UMJxBndZBtosRn3F93 d836aiwsOg6oGscIFx5HlZrgYkC9t8XDgL3QV2ojCjtlCbdYxxkrOqoVVciWP+re4d weQGQReyZLZ6g/piruJms/aH81IenkESo7N9WYoc= X-Riseup-User-ID: 1ED0D9D7CBC416A515F26A7F25B3181298D830AB36D640C47FFE58971E19326D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpd6fKsz1y8Z; Wed, 15 Feb 2023 22:00:41 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 22:59:51 +0100 Message-Id: <20230215220028.18575-3-raingloom@riseup.net> In-Reply-To: <20230215220028.18575-1-raingloom@riseup.net> References: <20230215220028.18575-1-raingloom@riseup.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=tCAZfQan; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676498558; a=rsa-sha256; cv=none; b=pZ64hf5wmO3SF5pSxMGZATG6OcIGs/DfFrkBbLY96qxnh+lKGBePP20oNrMWEAxl5Yw7ug DHZTqZI+845awYKy9OT+KHCXuhoFFVqW+rukJnX/XqkCdV4Ml8lkM/VSflXKI+EM+xz6BJ 6jOIZTYVqqpyxBs1VrECYwcfKpIoxmO4LM0l69S89FnMnghx84UJlsDQ62egHt05z+ctHs Ph8rxw0qmLcbudsrnAzgIiy1oLmmRCTQg7p1SjCaeIe7Op+dRV6IWEUSqESHrJxHcjoxOv GvuCelixEwDgrPGi0mzke35To2TA0cshhDRktSewiJdXrQXkGjxr2ilu5H4LbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676498558; 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=kLHEhIzzoUHqTQA1oqEb9HXozEMBfv/am+iWKE61ALw=; b=L9LoJsx2EOl+ShPBS0Oiv+YCdK4mXjRt+IsmFyG4/NA3SAx+yuze0sC76nuMQFnB5AWGrY tnteKZmuRMxn5XL3mN79x/t8VqklUTVANy7+9N9+bye7XGo75oingSD3Gfqpv/+ejg8Mpf NI4UeT6j0MCIumaD9QKpPePe26Wzss7K9p5poJrzOpp4YGfCppjiSlv9LRx1XbFSfXTXJ6 yI+BbHTx3iy+bnzeCqciWCzqNL1N5jgF4Z35XsTQQzP9k1kWc/n+g15RshhcOc9AxLfxrQ sXAS7YxK6l2lMZJ6K0Qd6kZcKJ0Fheq4f6ITBk3AAQF5zNE+Sk/0qsAZh0Dhmw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 7.28 X-Spam-Score: 7.28 X-Migadu-Queue-Id: 0A65F2BE07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=tCAZfQan; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) X-TUID: GPweIiLDOGoR From: raingloom * gnu/packages/ocaml.scm (ocaml-macaddr): New variable. --- gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 75f112f0ac..7fb32ade5a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3552,6 +3552,35 @@ (define-public ocaml-domain-name length of domain names are preserved throughout the module.") (license license:isc))) +(define-public ocaml-macaddr + (package + (name "ocaml-macaddr") + (version "5.3.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/ocaml-ipaddr/") + (commit (string-append "v" version)))) + (file-name name) + (sha256 + (base32 + "1zgwx0ms3l4k4dzwnkrwq4zzqjrddjsvqn66mbd0rm6aq1ib019d")))) + (build-system dune-build-system) + (arguments '(#:package "macaddr")) + (propagated-inputs (list ocaml-cstruct ocaml-domain-name)) + (native-inputs (list ocaml-ounit2 ocaml-ppx-sexp-conv)) + (home-page "https://github.com/mirage/ocaml-ipaddr") + (synopsis "OCaml library for manipulation of MAC address representations") + (description + "Features: +@itemize +@item MAC-48 (Ethernet) address support +@item @code{Macaddr} is a @code{Map.OrderedType} +@item All types have sexplib serializers/deserializers optionally via the +@code{Macaddr_sexp} library +@end itemize") + (license license:isc))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") -- 2.39.1