From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aFPhHOW/1GAMEAAAgWs5BA (envelope-from ) for ; Thu, 24 Jun 2021 19:24:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uFCdGOW/1GCsfQAAbx9fmQ (envelope-from ) for ; Thu, 24 Jun 2021 17:24:53 +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 D3C28FC8A for ; Thu, 24 Jun 2021 19:24:52 +0200 (CEST) Received: from localhost ([::1]:33372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwT5v-0006px-H0 for larch@yhetil.org; Thu, 24 Jun 2021 13:24:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwQte-0002VD-B6 for guix-patches@gnu.org; Thu, 24 Jun 2021 11:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwQte-0003zc-3K for guix-patches@gnu.org; Thu, 24 Jun 2021 11:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwQte-0006UK-03 for guix-patches@gnu.org; Thu, 24 Jun 2021 11:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49203] [PATCH 1/2] gnu: Add ocaml-uri-sexp. Resent-From: Adu O'Hara Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 24 Jun 2021 15:04: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: Xinglu Chen Cc: 49203@debbugs.gnu.org X-Debbugs-Original-Cc: 49203@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 49203-submit@debbugs.gnu.org id=B49203.162454703624917 (code B ref 49203); Thu, 24 Jun 2021 15:04:01 +0000 Received: (at 49203) by debbugs.gnu.org; 24 Jun 2021 15:03:56 +0000 Received: from localhost ([127.0.0.1]:43802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwQtW-0006Tk-3p for submit@debbugs.gnu.org; Thu, 24 Jun 2021 11:03:56 -0400 Received: from mout02.posteo.de ([185.67.36.66]:45721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwOl1-0000QL-Mz for 49203@debbugs.gnu.org; Thu, 24 Jun 2021 08:47:00 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 04A34240101 for <49203@debbugs.gnu.org>; Thu, 24 Jun 2021 14:46:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1624538814; bh=fUcwAMIfWAiy0Ppg4dSmwlZ+BBMpvZ+DkTluH59YIcE=; h=From:To:Cc:Subject:Date:From; b=ZduI62T/mLn8Otd2yD8hYubafKwwBUvqauzviV1wM2VDN5zfAlyA3d2cpufW2EYKh ymm03TzA9+CAgYOTgwsxpoIdAFsTUC6SXpFhxrlybYiZcE7v7kTA2CrRJnKQs0bqte djJNYLcxwDImtALp9WU8o1pY6p19IYWpMaSNLTmgjsushoyKbi+ywnRnKyPDoem5bR 0iKZq0XaAYYhC2vEICjOgeyM9DK4YphECBxpd2uCeabF+OZGn68AU/bypI9unPDAoi J4hoALjaqplz49Xju53JSEXws9nOxckKJtdTjBls3pvXtvoN7zWbe+D7lewuroZ5Vq yZIk8luTcTZyA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4G9fz03hq2z9rxK; Thu, 24 Jun 2021 14:46:52 +0200 (CEST) References: <0c74eedb3a07933206ed2127a2b26f433ab77b18.1624528372.git.public@yoctocell.xyz> From: Adu O'Hara Date: Thu, 24 Jun 2021 12:42:27 +0000 In-reply-to: <0c74eedb3a07933206ed2127a2b26f433ab77b18.1624528372.git.public@yoctocell.xyz> Message-ID: <86lf6zxwec.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Mailman-Approved-At: Thu, 24 Jun 2021 11:03:52 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 24 Jun 2021 13:24:42 -0400 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=1624555493; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=qTLctRQpZr4qkSLT6FcRhSikGVZs9x6AQznyZnYTtkU=; b=j0gn6PqgyxSRyxVCXBtR8Llpk/AsHvH7zphfNWoAOE8vRtwT8YC2osi6QTW5gZVCtzeDHZ QmSXuJAp4sMHSereYzPtkmj37uXIFar0H2v+7EQ5+kKrQ/b8qYu4DcgLIZf2sgval/VLZ8 kkT90XzEFsy37/Fof7J3nXKR3fjhqTaHyw+TE1TFPVX3pWS/zOuQlvXE1/p9U4zAOTjvPF nK20/korQvttrcxesCsgQ8W0fH8aFxZEPFUX1S+UOMCdBc2XmjodsQ3qMfdnH5/YvcmD2G 0JpKnqGt9nmprfG2s4WTe2aGUbSpHxflwfDWk2ZR18oE2CRhiDDNdQV1z6gADQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624555493; a=rsa-sha256; cv=none; b=udaCWsIwQsXWcdOFGGH17gYNWGuoXWvQs3GQO1NYBhbX2Y3Uvb/Asae9Q8IGXbUvwZEP3J OPOeXfLGj1zd34H4C6U9Dz+TEmPX9miTlsl0j3GSCB/UIOY8kkLipBcA8vMVedok/KPxc/ Tty9QW+ADrfVJfjuRoiM55RFT//8nELDkYIvWsv1DnVrIEZt+PSdjdgEXx4zYcInkuTC6s OGDhZmA1sU48ra+XQ5jjWvDOdHtHseCos95bynRvw4K4XqDSK/saqxlHoq7RVY+Yd8dPsB EcMtuedimuXrStUm8iRcEDhOj/xQGwPGjhtJk9PvFxqiOzkRlFDpdiQ9aOBC8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="ZduI62T/"; 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: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="ZduI62T/"; 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: D3C28FC8A X-Spam-Score: -1.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: pBhXJKQEWT5B Thanks for the patches! There is already an `ocaml-uri`. How about updating that to 4.2.0 (currently at 4.1.0) and let `ocaml-uri-sexp` inherit from ocaml-uri with #:package set to "uri-sexp"? Another alternatively: remove the #:package argument from `ocaml-uri` so that all packages are built (`uri`, `uri-sexp` and `uri-re`). Xinglu Chen writes: > * 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")