From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kPCKNbLWAmKTsgAAgWs5BA (envelope-from ) for ; Tue, 08 Feb 2022 21:46:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aHJbLrLWAmJZ8AAAG6o9tA (envelope-from ) for ; Tue, 08 Feb 2022 21:46:42 +0100 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 9FF3538754 for ; Tue, 8 Feb 2022 21:46:40 +0100 (CET) Received: from localhost ([::1]:42444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHXNn-0000C9-F6 for larch@yhetil.org; Tue, 08 Feb 2022 15:46:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHWuB-0000b3-Th for guix-patches@gnu.org; Tue, 08 Feb 2022 15:16:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHWuB-0007Wu-Ju for guix-patches@gnu.org; Tue, 08 Feb 2022 15:16:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHWuB-0002aK-Gw for guix-patches@gnu.org; Tue, 08 Feb 2022 15:16:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53882] [PATCH 03/24] gnu: Add ocaml-spawn. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Feb 2022 20:16:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53882 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53882@debbugs.gnu.org Received: via spool by 53882-submit@debbugs.gnu.org id=B53882.16443513129661 (code B ref 53882); Tue, 08 Feb 2022 20:16:03 +0000 Received: (at 53882) by debbugs.gnu.org; 8 Feb 2022 20:15:12 +0000 Received: from localhost ([127.0.0.1]:48780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHWtH-0002Ud-01 for submit@debbugs.gnu.org; Tue, 08 Feb 2022 15:15:11 -0500 Received: from lepiller.eu ([89.234.186.109]:47110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHWtB-0002Sz-CQ for 53882@debbugs.gnu.org; Tue, 08 Feb 2022 15:15:05 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 96891bdd for <53882@debbugs.gnu.org>; Tue, 8 Feb 2022 20:14:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=Vudsk9kTANNKyb7jyUwgRkanT UXpuRVpN0SeCoeBni4=; b=W9R9NDN0SoC9qRQfCwGjQ1Nk23cLSFf8TD8OmwM8A Bp1poYc7Mgay+3+BfdV2+4Uy1bP43h+a1A3YSDV7OyvIIIK3slWuFTVJKf3S6jbM i6oA1vHOPpMs2svu+cvy3TnPBIGQYggLc0WhGWeYEgjDgCSva81RqKkrR/3/aQpo rr6krlVUujyOjKSXaWvWkDirLNSnu6oNy0dK/Hor2HsuXnS8HtrIo7TZGhvH4bnt MzkV+71nx6QpIJ7tvCb23e0yzI/cFsIB4IG/LqzdA2kMUG4W2UHvOH+kSysBwRNi YvInWXefSaSqV5yguuBZnc+OBAMH/kko8tAj2JjPPIYoQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id d4eb5e9c (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <53882@debbugs.gnu.org>; Tue, 8 Feb 2022 20:14:56 +0000 (UTC) From: Julien Lepiller Date: Tue, 8 Feb 2022 21:14:29 +0100 Message-Id: <7cf7c54676b6caea71a2b9f6654f6ac32ecc3bcd.1644350657.git.julien@lepiller.eu> X-Mailer: git-send-email 2.34.0 In-Reply-To: <1dcef02fe1f5f25657c6427d09c43bfc41091050.1644350657.git.julien@lepiller.eu> References: <1dcef02fe1f5f25657c6427d09c43bfc41091050.1644350657.git.julien@lepiller.eu> 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644353200; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=x46Xt3bXYR+mMmaHecFsdyij0xts5HWdbv75yrdUD8o=; b=acaoBaH1EbOogpmxH0J/CAFSViRD4oWv+x4zRJXlliIxRTY0/bg6YESZmqG69UgUHR11xm Q2xfuQsWrSPg5NFel9QszFOTDaDB40ZfKY5zGOEB3Es9ZemLhEwmx1shjXSmQ5ilQA5HIf nbNbRuugE1niOu/CDsGLtSKekKWznj4KG0cnUJJMv2BZyDZMM05iKtmH5yxxFmwSLxJ84I JC0kCBBTH5gBfUIbk98hTeKoEU6JlBqdxMzUnGnAjS7gWrxMlVSD7mPJ/bd/LWzZLY5al9 m6hVz5I5BeDmSUpgMeuK0MpgZP5JDVihqrXf8yohLv/Qhq5h2l90oiRF2auMjQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644353200; a=rsa-sha256; cv=none; b=Yz9r2InIZUMmLKI1IS+kJJJUoHqSJa92hRSTqZr7Fm5zWBWbxYFtg12oLCu+OD6U8HElBW 9sOHFVkzlZhvysCe7U09V7di+ABQaqJ2sXBGUM64ArtPFBeW/zCrNDFSQGGJExhwV5Eo/K 0ZeaiMvaDWRFE9+jnLQ6tXohUHlr8pi2jYwYrTBy76eQEA5tPnYg9srzsFgmQeKpC039Wy 44heOvzh+XKT78HCgMGKC0/lbFZeAQjWjaHVbFqo4zOOzVco9ZJg+BfyeKE8stwb7PK7kK EbCE3IULM6J9YLZdItw/rQAW6McBQ1+1lR+T7+6Yx17IGf+73wCZt/rv+IqGyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=W9R9NDN0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=W9R9NDN0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9FF3538754 X-Spam-Score: -0.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: PaKIZjs0u2/7 * gnu/packages/ocaml.scm (ocaml-spawn): New variable. (ocaml4.07-spawn): Inherit from it. --- gnu/packages/ocaml.scm | 55 ++++++++++++++++++++++++++++-------------- 1 file changed, 37 insertions(+), 18 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index d0cfafbab4..ad2e5fc158 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6448,10 +6448,10 @@ (define-public ocaml4.07-configurator @end itemize") (license license:asl2.0))) -(define-public ocaml4.07-spawn +(define-public ocaml-spawn (package - (name "ocaml4.07-spawn") - (version "0.13.0") + (name "ocaml-spawn") + (version "0.15.0") (source (origin (method git-fetch) (uri (git-reference @@ -6460,22 +6460,12 @@ (define-public ocaml4.07-spawn (file-name (git-file-name name version)) (sha256 (base32 - "1w003k1kw1lmyiqlk58gkxx8rac7dchiqlz6ah7aj7bh49b36ppf")))) + "1fjr91psas5zmk1hxvxh0dchhn0pkyzlr4gg232f5g9vdgissi0p")))) (build-system dune-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'fix-tests - (lambda _ - (substitute* "test/tests.ml" - (("/bin/pwd") (which "pwd")) - (("/bin/echo") (which "echo"))) - #t))) - #:ocaml ,ocaml-4.07 - #:findlib ,ocaml4.07-findlib - #:dune ,ocaml4.07-dune)) - (native-inputs - `(("ocaml-ppx-expect" ,(package-with-ocaml4.07 ocaml-ppx-expect)))) + (propagated-inputs (list ocaml-odoc)) + (native-inputs (list ocaml-ppx-expect)) + (properties + `((ocaml4.07-variant . ,(delay ocaml4.07-spawn)))) (home-page "https://github.com/janestreet/spawn") (synopsis "Spawning sub-processes") (description @@ -6497,6 +6487,35 @@ (define-public ocaml4.07-spawn @end itemize") (license license:asl2.0))) +(define-public ocaml4.07-spawn + (package-with-ocaml4.07 + (package + (inherit ocaml-spawn) + (version "0.13.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/spawn") + (commit (string-append "v" version)))) + (file-name (git-file-name "ocaml4.07-spawn" version)) + (sha256 + (base32 + "1w003k1kw1lmyiqlk58gkxx8rac7dchiqlz6ah7aj7bh49b36ppf")))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'fix-tests + (lambda _ + (substitute* "test/tests.ml" + (("/bin/pwd") (which "pwd")) + (("/bin/echo") (which "echo"))) + #t))) + #:ocaml ,ocaml-4.07 + #:findlib ,ocaml4.07-findlib + #:dune ,ocaml4.07-dune)) + (propagated-inputs '()) + (properties '())))) + (define-public ocaml4.07-core (package (name "ocaml4.07-core") -- 2.34.0