From patchwork Thu Jun 24 09:57:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 30665 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 A131127BC81; Thu, 24 Jun 2021 10:58:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6F71527BC78 for ; Thu, 24 Jun 2021 10:58:07 +0100 (BST) Received: from localhost ([::1]:45916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwM7a-0001il-IR for patchwork@mira.cbaines.net; Thu, 24 Jun 2021 05:58:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwM7W-0001iW-0q for guix-patches@gnu.org; Thu, 24 Jun 2021 05:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwM7V-0005KN-Ph for guix-patches@gnu.org; Thu, 24 Jun 2021 05:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwM7V-0002CL-Q1 for guix-patches@gnu.org; Thu, 24 Jun 2021 05:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49203] [PATCH 1/2] gnu: Add ocaml-uri-sexp. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 24 Jun 2021 09:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49203 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49203@debbugs.gnu.org Received: via spool by 49203-submit@debbugs.gnu.org id=B49203.16245286678413 (code B ref 49203); Thu, 24 Jun 2021 09:58:01 +0000 Received: (at 49203) by debbugs.gnu.org; 24 Jun 2021 09:57:47 +0000 Received: from localhost ([127.0.0.1]:42485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwM7H-0002BY-0y for submit@debbugs.gnu.org; Thu, 24 Jun 2021 05:57:47 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:53794 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwM7E-0002BK-VP for 49203@debbugs.gnu.org; Thu, 24 Jun 2021 05:57:45 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1624528659; bh=8IjJm3Zob4cAxga57SlTDRx152jMW7Jtu4+zqSP9oLg=; h=From:To:Subject:In-Reply-To:References:Date; b=s/BMRpwPBnPWqD1OTrnOimTue9lBomOVHjZBBhKDwH0cPwb/pJGBDFnNnieQpXnEe n6KOjlqP2Y/Q/XlcmkqnyyRi2axSYcCawpmr69TJeClNnOrGth3JOwhuoSx/kX3EPB YUt3G4du/q5yTcjEY/Pspu5y9OJ25Lh3nkRaeops= In-Reply-To: References: Message-Id: <0c74eedb3a07933206ed2127a2b26f433ab77b18.1624528372.git.public@yoctocell.xyz> Date: Thu, 24 Jun 2021 11:57:38 +0200 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ocaml.scm (ocaml-uri-sexp): 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 1262c0e303..681d77dd81 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7071,6 +7071,34 @@ Graphics.open_graph is called. This library used to be distributed with OCaml up to OCaml 4.08.") (license license:lgpl2.1+))) +(define-public ocaml-uri-sexp + (package + (name "ocaml-uri-sexp") + (version "4.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/ocaml-uri") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bgkc66cq00mgnkz3i535srwzwc4cpdsv0mly5dzvvq33451xwf0")))) + (build-system dune-build-system) + (arguments + '(#:package "uri-sexp" + #:test-target ".")) + (propagated-inputs + `(("ocaml-uri" ,ocaml-uri) + ("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv) + ("ocaml-sexplib0" ,ocaml-sexplib0))) + (native-inputs `(("ocaml-ounit" ,ocaml-ounit))) + (home-page "https://github.com/mirage/ocaml-uri") + (synopsis "RFC3986 URI/URL parsing library") + (description "This package adds S-exp support to @code{ocaml-uri}.") + (license license:isc))) + (define-public js-of-ocaml (package (name "js-of-ocaml")