From patchwork Wed Feb 15 21:59:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46960 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 213D216889; Wed, 15 Feb 2023 22:01:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E2FCB16876 for ; Wed, 15 Feb 2023 22:01:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPpp-0001Ew-IP; Wed, 15 Feb 2023 17:01:05 -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-0001CK-Ei 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-00029D-3Y 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 1pSPpm-0006r1-VW for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 01/39] gnu: Add ocaml-domain-name. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:01:02 +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.167649845426220 (code B ref 60673); Wed, 15 Feb 2023 22:01:02 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:00:54 +0000 Received: from localhost ([127.0.0.1]:34185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpe-0006oi-5q for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:54 -0500 Received: from mx1.riseup.net ([198.252.153.129]:50030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpX-0006ng-26 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 mx1.riseup.net (Postfix) with ESMTPS id 4PHBpd4SPgzDqfh for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498441; bh=auuIg985qPa+VqW4U9hmXiawbyTKS1HlSntmgnkWFU8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JM/zsE6Euszf5dutuNgAhMdb/4Z0imvmlCVRG0ecaqMUGoM5uiEVCjzrn0RiNGn4O hT8L9JvT0u52fANIezJP5J1Ps1cMx3sg8avS+qN8FiLXajwhuZ0PzVqFsTG83ptXQX 9rVhdOrYYlbwdrnyQGv0egeki3LmBpwT2BTgZlMI= X-Riseup-User-ID: D7D74E6E390780A15EA8C6B7CA1D9D0E2F73B9D7DBB6F48620AD597AEA0B1477 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpc535Yz1y8Z; Wed, 15 Feb 2023 22:00:40 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 22:59:50 +0100 Message-Id: <20230215220028.18575-2-raingloom@riseup.net> In-Reply-To: <20230215220028.18575-1-raingloom@riseup.net> References: <20230215220028.18575-1-raingloom@riseup.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: raingloom gnu/packages/ocaml.scm (ocaml-domain-name): New variable. --- gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 0cc92c3e85..75f112f0ac 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -27,6 +27,7 @@ ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022 John Kehayias ;;; Copyright © 2022 Garek Dyszel +;;; Copyright © 2023 Csepp ;;; ;;; This file is part of GNU Guix. ;;; @@ -3529,6 +3530,28 @@ (define-public ocaml-ocp-index (license (list license:gpl3+ license:lgpl2.1+)))) +(define-public ocaml-domain-name + (package + (name "ocaml-domain-name") + (version "0.4.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hannesm/domain-name/") + (commit (string-append "v" version)))) + (file-name name) + (sha256 + (base32 + "1a669zz1pc7sqbi1c13jsnp8algcph2b8gr5fjrjhyh3p232770k")))) + (build-system dune-build-system) + (native-inputs (list ocaml-alcotest)) + (home-page "https://github.com/hannesm/domain-name") + (synopsis "RFC 1035 Internet domain name data structure and parser") + (description + "Parses and constructs RFC compliant domain names. The invariants on the +length of domain names are preserved throughout the module.") + (license license:isc))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl")