From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ALkXObTSEGGDQAAAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 09:01:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iNfFNLTSEGG5YAAA1q6Kng (envelope-from ) for ; Mon, 09 Aug 2021 07:01:08 +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 A248317CE9 for ; Mon, 9 Aug 2021 09:01:08 +0200 (CEST) Received: from localhost ([::1]:41818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCzHX-0003mQ-N0 for larch@yhetil.org; Mon, 09 Aug 2021 03:01:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCzHT-0003m9-34 for guix-patches@gnu.org; Mon, 09 Aug 2021 03:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43863) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCzHS-0007rS-SS for guix-patches@gnu.org; Mon, 09 Aug 2021 03:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCzHS-0003Ux-RI for guix-patches@gnu.org; Mon, 09 Aug 2021 03:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH 02/31] gnu: Add ocaml-domain-name. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 07:01: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.162849244313396 (code B ref 49867); Mon, 09 Aug 2021 07:01:02 +0000 Received: (at 49867) by debbugs.gnu.org; 9 Aug 2021 07:00:43 +0000 Received: from localhost ([127.0.0.1]:55408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzH9-0003U0-5i for submit@debbugs.gnu.org; Mon, 09 Aug 2021 03:00:43 -0400 Received: from mout01.posteo.de ([185.67.36.65]:51825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzH7-0003Tm-Ak for 49867@debbugs.gnu.org; Mon, 09 Aug 2021 03:00:41 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id B42EF240028 for <49867@debbugs.gnu.org>; Mon, 9 Aug 2021 09:00:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628492435; bh=nD16KtH3uQkLJkwfoNdZveXeejf0UI/nLY5rISr6L2k=; h=From:To:Cc:Subject:Date:From; b=jG0wcJuE4HNQXtesU2hGAOcoUSvXHekyLOSDtdm72Yi9qbzFkboBrRHleI1/IBg2E J6arLxv/sxJXjok4Wb48obigeSvjDLmi13cFoF5Ebdl77ye7r2J7puDPwuX9hBtZeJ KcjyMVfjlZbrmtLBVja+LYVnHZb2aJcECa2+gXomajFMKchoPUrU+cWryP0Qon2H2t 3QS3VAuLSB53cxDk9j6w18C5LEIoAlRh0aasz7tuw6iM+NtqBxCTG9vlhXmFaT1iYC qXBZQkb9o8Rhcg+3qJiwdOhSy+AlJkm37C0+t42G0igUyA9LpokXiXgO86JT5hAt2m W9lKveAZR4FNg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gjn686WnCz6tmF; Mon, 9 Aug 2021 09:00:32 +0200 (CEST) From: pukkamustard Date: Mon, 9 Aug 2021 06:59:43 +0000 Message-Id: <20210809070012.25327-2-pukkamustard@posteo.net> In-Reply-To: <20210809070012.25327-1-pukkamustard@posteo.net> References: <86pmun5cp5.fsf@posteo.net> <20210809070012.25327-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=1628492468; 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=Qjmr2jiK5sd+jaOSvryZUVEWLpim/WU8sT1pfajb7D4=; b=VTGRWbPAQS9L+bqOh9tD4M38v3NCo+XoHeP1bR1EAgCzyXu7aj16c3CnjECiT1SpJEC5rE e0MrawcCl+Qkm9t53bQtixWVmPGxuKfCzOhK5t0oqNWhiMI4gNoXpbfA2gI68e4wwPWsRz HH+5Z3bo2QmR/UsE+0iLuh53PGeB68/eePgUhWdFlyS+KpFQgqtEvsIPnid1De4DkhDCv/ wFDDS49+veKLHYVcor/w9SXwjx+8M9/alEoMXx1nhoWTm96YrS01XKFYqcmwes0unvofgk j7fKkRHAN4COPP9Vn54zOq1qth/E1CBpK+5LFLyipv59qNeVtfW1A42MpK2tkw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628492468; a=rsa-sha256; cv=none; b=n4YtzmTFpc9pGLL8gmNaxg4TtJU20Sgbr9Qv6MnJN1KhP8JD9Jpguo5DozC9N2F5GzOG5O Vd11kEVGW+cGGaRaG84RMBkh5nxJwmrScdg3wAqMUL9ZoyOYs+Z2+PnJrpvn6rkCNmsE+m +DhCjeuGdcamj1sSyvlLjoCCO8//pl6Ggf/WFx7kZvgajF5kNxMvZafSZNn9srRYQCsBim Pf4X37bmpdGxrr+JwIFfu15nEC3HcgGbjEKEq0QQ11Hj7G8v8abtFsK68Y5Z5VRlGGcEZR uCUGK1mcovdazT3Vc9otz5VDlfK3r5DlIcKTxLyKi+za7Uh5OpA8esj1PCWhkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=jG0wcJuE; 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=jG0wcJuE; 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: A248317CE9 X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: cZSV3WSnfOrO * gnu/packages/ocaml.scm (ocaml-domain-name): 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 6518f21f5e..56e3c39c2d 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7347,6 +7347,35 @@ JavaScript backend, or @code{ocaml-cohttp-mirage} for the MirageOS unikernel version of the library. All of these implementations share the same IO logic from this module."))) +(define-public ocaml-domain-name + (package + (name "ocaml-domain-name") + (version "0.3.0") + (home-page "https://github.com/hannesm/domain-name") + (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 + "06l82k27wa446k0sd799i73rrqwwmqfm542blkx6bbm2xpxaz2cm")))) + (build-system dune-build-system) + (arguments `(#:test-target ".")) + (propagated-inputs + `(("ocaml-fmt" ,ocaml-fmt) + ("ocaml-astring" ,ocaml-astring))) + (native-inputs + `(("ocaml-alcotest" ,ocaml-alcotest))) + (synopsis "OCaml library for RFC 1035 Internet domain names") + (description "This OCaml library provides functions for working with +Internet domain names (RFC 1035). For example, it provides functions for +comparing domain names or checking if one domain name is a sub-domain of +another.") + (license license:isc))) + (define-public js-of-ocaml (package (name "js-of-ocaml") -- 2.32.0