From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eLU+OZphu2PfOgEAbAwnHQ (envelope-from ) for ; Mon, 09 Jan 2023 01:36:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EK5JOZphu2PnWQEAauVa8A (envelope-from ) for ; Mon, 09 Jan 2023 01:36:42 +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 A38999549 for ; Mon, 9 Jan 2023 01:36:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEg8y-0005O9-MD; Sun, 08 Jan 2023 19:36:04 -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 1pEg8x-0005Nf-3c for guix-patches@gnu.org; Sun, 08 Jan 2023 19:36: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 1pEg8w-00044G-RH for guix-patches@gnu.org; Sun, 08 Jan 2023 19:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEg8w-0001hY-KB for guix-patches@gnu.org; Sun, 08 Jan 2023 19:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60671] [PATCH 02/39] gnu: Add ocaml-macaddr. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Jan 2023 00:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60671 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60671@debbugs.gnu.org Cc: raingloom X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16732245546437 (code B ref -1); Mon, 09 Jan 2023 00:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jan 2023 00:35:54 +0000 Received: from localhost ([127.0.0.1]:35053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEg8n-0001fj-Qi for submit@debbugs.gnu.org; Sun, 08 Jan 2023 19:35:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:57164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEg8l-0001fK-Bm for submit@debbugs.gnu.org; Sun, 08 Jan 2023 19:35:51 -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 1pEg8l-0005LG-7V for guix-patches@gnu.org; Sun, 08 Jan 2023 19:35:51 -0500 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEg8j-0003z2-EN for guix-patches@gnu.org; Sun, 08 Jan 2023 19:35:50 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (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 4Nqw376xL8z9s4M for ; Mon, 9 Jan 2023 00:35:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1673224547; bh=zAp9zVSzd0YgHEg0H+MDt12Ab8oE7u6qjB6vg8YMVeo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ri5CUQ6H19gk9ICNuS7Z/wXnDy0nXtv+u4muaZ6ZSpZvwTiPyCtNaRIbTHL7KJs6O fT1taMtABXf5tiX3QMunGIwjG6gJi/kHCwu+5Ri2kKgApDgEdRA5h+fE8ygFtDC+jg OQgEyqb0dFrX8QdwaIP3B2cgAGIOPSQJVzxIVHVk= X-Riseup-User-ID: 38C7ACDE965A94BA1258EE0774CF7053EC8DE8E903F8A6FB2FFD4E61467D709D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4Nqw370gdMz5vjc; Mon, 9 Jan 2023 00:35:46 +0000 (UTC) From: Csepp Date: Mon, 9 Jan 2023 01:34:52 +0100 Message-Id: <20230109003529.23375-2-raingloom@riseup.net> In-Reply-To: <20230109003529.23375-1-raingloom@riseup.net> References: <20230109003529.23375-1-raingloom@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Seal: i=1; s=key1; d=yhetil.org; t=1673224601; a=rsa-sha256; cv=none; b=GieIAFQjxvvi/ORaRZw97xHCICMwdxjzbWVekaBUBUZOu8ykSkyxRWVbb2eEPxoa8G/8UT b8yamFjfrKvgrrP28UfVeugx8FOhH0jTxXWYLTkZZTIfI/27Fwo5VC3xsC37kSXHFa6nZH o/Ia3Fxa7a8MBXVL7ZiigRLpd6xDrQEAPFNgFLZtgyoMPkG0vi9j6hDlW6Vr88xCgX4G43 cmmVkaixbECmDQQ3qKXWLtoBlxS8Cz0JRnRCbcIMLyCJ791fW6soLuGbvRhe1Q2RaArLQ9 ww57dcauqjV/ZvTr5KAiRfOBRyY/6k9QbjJz1cYHeliUpZqQXEUHXAWU1pQSBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=ri5CUQ6H; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673224601; 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=nAZRWtu503oMkZyx2m+5AsKVNZc8cDf5uGznsu6fxTQ=; b=X+mShowprQk4DHbUDBqLbcii6TI1ECY6MgLqp6d3ki8REkpx1YTXw7J7/TgakQAXQWD+pi vY1KKORqOxzyjUGthbwIvaL0eDRScaYDwSzIs+7DdpAS3UAf7pR9NJ+34Wgqy06qRreecQ WQxLKVkIZR4zDylwdSBGs3cwCzEGbDZLmOKGChrtMc5SYcQONnkw6RyYVhKM2jLaIu/wJK na0wwcE1T0DqbE0DqY7l2KzuT4ijH4f7dyDSXh35P3xTNMLfWGq4/3KxvGY6jQHjdbynkc uqLPGQjECzl22GXuh7HghySAaFf0xqjuCJu4p9T5sphGfYXgWLDqtQFS5U0dHA== X-Spam-Score: -1.17 X-Migadu-Queue-Id: A38999549 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=ri5CUQ6H; 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-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.17 X-TUID: PHTUnJ5MphBc From: raingloom * gnu/packages/ocaml.scm (ocaml-macaddr): New variable. --- gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 41485b3686..5adbeda74a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3560,6 +3560,34 @@ (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 + "@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.38.1