From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CGkDLFeYtmBUBwEAgWs5BA (envelope-from ) for ; Tue, 01 Jun 2021 22:28:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oI14J1eYtmABfQAAB5/wlQ (envelope-from ) for ; Tue, 01 Jun 2021 20:28:07 +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 6C76824BAE for ; Tue, 1 Jun 2021 22:28:07 +0200 (CEST) Received: from localhost ([::1]:37726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loAze-0006zA-GA for larch@yhetil.org; Tue, 01 Jun 2021 16:28:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loAxm-0002pt-Oy for guix-patches@gnu.org; Tue, 01 Jun 2021 16:26:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loAxm-0001F5-Fs for guix-patches@gnu.org; Tue, 01 Jun 2021 16:26:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1loAxm-00073j-Cc for guix-patches@gnu.org; Tue, 01 Jun 2021 16:26:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47768] [PATCH v3 36/42] gnu: Add ocaml-uri. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Jun 2021 20:26:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47768 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen Cc: pukkamustard , 47768@debbugs.gnu.org Received: via spool by 47768-submit@debbugs.gnu.org id=B47768.162257916527046 (code B ref 47768); Tue, 01 Jun 2021 20:26:10 +0000 Received: (at 47768) by debbugs.gnu.org; 1 Jun 2021 20:26:05 +0000 Received: from localhost ([127.0.0.1]:37966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loAxh-000724-By for submit@debbugs.gnu.org; Tue, 01 Jun 2021 16:26:05 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loAxR-0006yv-6f for 47768@debbugs.gnu.org; Tue, 01 Jun 2021 16:26:04 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id A8E37240029 for <47768@debbugs.gnu.org>; Tue, 1 Jun 2021 22:25:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1622579143; bh=dIe0RX5cXIfrYN4bw0kgGYUC+c/UzK52so2DfNBiZgs=; h=From:To:Cc:Subject:Date:From; b=FuCV5F456z/Qh7AW7GtXxunpHpZ652i8PpazA6+dH31n3AaToNV7+e8cL1yR62o54 OriVVpjtosJ83AkmPxGlaudU/8zxxzR8wxOv1uw6M/AKyQbA3uHL6gM7TyqOqrN04P qGBa7G9a+VsklUpqQsNuHrLnymynaHwii1O06ZtZKmPEONpabD60ma1h8ND8RgEAxs 62m8x9tr//finFGDf6Al01oHT0bivcf8N3all7vXAL1wU5lGEwGIEJa1Gmh+ReFeUZ JkN/r+6PMXnQXljMmV6w+1qbeD9iSL0RFXdteJNo3QDslluzFRRALDLnfI8jCo9spg SbQXQKX1BP8Rw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FvkF14hHwz9rxH; Tue, 1 Jun 2021 22:25:41 +0200 (CEST) From: pukkamustard Date: Tue, 1 Jun 2021 20:23:19 +0000 Message-Id: <20210601202325.8777-37-pukkamustard@posteo.net> In-Reply-To: <87lf82hasx.fsf@yoctocell.xyz> References: <87lf82hasx.fsf@yoctocell.xyz> 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=1622579287; 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=z2xUJSpaAM98KqqH32dTexRsdx4fIBy4cA8A42UQmY0=; b=ZxscEwucUbRiGAeIaP/NDGql8y1kR8garixivwvkFvtLJ4OtJvJm8zXfy3RPTKAPh28Cii VtefSHLtcvF7fXtOl73/Gti8eQSdfB5ubRDwT9/9z8BYqtTzy1rB/3SWaHA+G/BuL20VFm UtM9w3oN95D8/1VXKdk2Es3kQe4jaMnJwbIJ2bJqvhMDe96SM1h+3riiXRmCgOQU+oeyHC kgasyv7KzBoOv6i2JbJmVASDCCMEAtDGouhj2job9wFJRYghZ13q/V79qmYuJw/7uUmnPg IOI8AK/B5WoT5I8RNeGwiJjrYfK4lMxOpFziKEQBE1ZaZFHFqnW/YfgbfOVPsg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622579287; a=rsa-sha256; cv=none; b=D1Mclm8v0ahO9iLnYvT0RGGxjwONv/uI5Oy0M50Q9tszZpazome2vUIcL2YgW9O95CVb+I I4JKEAelMGcjAHiQztiyDRNOm8qUYBNzMflpJDb3GwaVmcMrKHD/QY3SYo9KX3HnFw2Z21 Yky8eUinQdQg0OwlZTRA8l05eVzlvHT9NyK6e2zstg37EKwgfJUtWZHqEU8ZvAvTWBr9LR X6a1KJrCg6DrXXw4lwjHV4L5OkCYhGN+p3ykym8MML0H5Gli2PCvWJGOUv/ByEhehRakw2 0jGYGkCuqFu2cGwg7Jq8gLH+nmd+c1H8RqPYeKEefnRxfztrmT/4zuyoJP+pIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=FuCV5F45; 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-Spam-Score: 3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=FuCV5F45; 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: 6C76824BAE X-Spam-Score: 3.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: lhXn/NvMbKYe * gnu/packages/ocaml.scm (ocaml-uri): New variable. --- gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 6e16f93ab4..e1055cb43c 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3416,6 +3416,35 @@ the need to write signal code, which is useful for quick scripts that manipulate JSON.") (license license:isc))) +(define-public ocaml-uri + (package + (name "ocaml-uri") + (version "4.1.0") + (home-page "https://github.com/mirage/ocaml-uri") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 + "10bf28my1yhj8a2d7bkgbna9j20wq0ghp92k926y29bmjj2qh0l7")))) + (build-system dune-build-system) + (arguments '(#:package "uri" + #:test-target ".")) + (propagated-inputs + `(("ocaml-stringext" ,ocaml-stringext) + ("ocaml-angstrom" ,ocaml-angstrom))) + (native-inputs + `(("ocaml-ounit" ,ocaml-ounit) + ("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv))) + (properties `((upstream-name . "uri") + (ocaml4.07-variant ,(delay ocaml4.07-uri)))) + (synopsis "RFC3986 URI/URL parsing library") + (description "OCaml-uri is a library for parsing URI/URL in the RFC3986 format.") + (license license:isc))) + (define-public ocaml4.07-uri (package (name "ocaml4.07-uri") @@ -3448,6 +3477,7 @@ JSON.") `(("ocaml-re" ,(package-with-ocaml4.07 ocaml-re)) ("ocaml-sexplib0" ,(package-with-ocaml4.07 ocaml-sexplib0)) ("ocaml-stringext" ,(package-with-ocaml4.07 ocaml-stringext)))) + (properties `((upstream-name . "uri"))) (home-page "https://github.com/mirage/ocaml-uri") (synopsis "RFC3986 URI/URL parsing library") (description "OCaml-uri is a library for parsing URI/URL in the RFC3986 format.") -- 2.31.1