From unknown Mon Jun 23 00:34:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30433] [PATCH] gnu: Add epipe. Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Feb 2018 07:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30433 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 30433@debbugs.gnu.org Cc: Oleg Pykhalov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15184217656900 (code B ref -1); Mon, 12 Feb 2018 07:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2018 07:49:25 +0000 Received: from localhost ([127.0.0.1]:38891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1el8rd-0001nE-JQ for submit@debbugs.gnu.org; Mon, 12 Feb 2018 02:49:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1el8rc-0001n1-C3 for submit@debbugs.gnu.org; Mon, 12 Feb 2018 02:49:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el8rV-0001jm-KD for submit@debbugs.gnu.org; Mon, 12 Feb 2018 02:49:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54027) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1el8rV-0001jH-FV for submit@debbugs.gnu.org; Mon, 12 Feb 2018 02:49:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1el8rU-0003ZK-02 for guix-patches@gnu.org; Mon, 12 Feb 2018 02:49:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el8rQ-0001aU-KL for guix-patches@gnu.org; Mon, 12 Feb 2018 02:49:16 -0500 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]:36422) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1el8rQ-0001YO-Ca for guix-patches@gnu.org; Mon, 12 Feb 2018 02:49:12 -0500 Received: by mail-lf0-x229.google.com with SMTP id t79so19178033lfe.3 for ; Sun, 11 Feb 2018 23:49:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=EOf4xugtQdKKnfuzpkkXVqA9zv8ANQvWphjAnAvUXhU=; b=dXbN/DgQCHBY8fsQ2Me9Adgcz3dmqBMdfdY1Kv16TL7vEy19WdPUkyohDJKUeL4qPh ox1INtYDnIlvv7EQ+bOyijbEj9d38G71K+SZvRfUC0dhn2E24L3bsa0GU3d81eREviv/ vGHSmk36tZEK872PcuEu0vOhs9w+hW6XxCT04ZUHPnW2wN/RXyY0lYHN248P1z3ZXAtx 7ILaq9r1UmHwxuU8GFIjzRqVEpRGKNLevPr8hF+kHx26yjSf8AuKWT9EWWIOSGSVDFb3 dwm5/KnKMBeBke50f8OCyGXUFcCZgQcIRra5l6tm5EVT/OnLpUGiLUCDYgLFdiwh0MYx drJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=EOf4xugtQdKKnfuzpkkXVqA9zv8ANQvWphjAnAvUXhU=; b=qB5k7I2vvIZUlR/JgImnPbBVMbK53rSdwBD/Q2aBAzccmtDj2JSd4685ok5XKefwnU hn4AIloUYfwtj9ghJaWWbjau7VfaE6mzrkXWObTw8HnM3F3tESrUkCK2OMtjREudMpYl nWWj9oDwIgaLNNjG9v3F2gxfVPP1IkihCiL8C7cXdDFpMAbENYbn0bBYR0sFe5Bt1Nm7 i4FiKj8NIWtwEvYUbzTsT04460gIdJL0GiyehHmL66tRE9qg5pS6eHLCdaRBPTlMjeye 6P9jtgbTbWiRlOZX9WZ8FPKWb46/a93eHf4CZpRimGCCNExjzZ5rP1sbR5NOqhgfLKf5 lX4A== X-Gm-Message-State: APf1xPDhzLGTP7fz4UpjInas/xrWyk+5v99fXJKc5JsBaWk991O6C/Sd VLqPmEZsPq4w1+nWtFswgvgdDY1o X-Google-Smtp-Source: AH8x227YJn5G5RyL/d8WD2VBs/5CCzMzckPmXwc8Cig0wgGN4s0kkvEqIqWaLcLbRswunEgoR+ZWBA== X-Received: by 10.46.91.134 with SMTP id m6mr6682069lje.107.1518421750512; Sun, 11 Feb 2018 23:49:10 -0800 (PST) Received: from localhost.localdomain ([178.70.240.222]) by smtp.gmail.com with ESMTPSA id r84sm1459775ljb.89.2018.02.11.23.49.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Feb 2018 23:49:09 -0800 (PST) From: Oleg Pykhalov Date: Mon, 12 Feb 2018 10:48:51 +0300 Message-Id: <20180212074851.3515-1-go.wigust@gmail.com> X-Mailer: git-send-email 2.15.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) * gnu/packages/emacs.scm (epipe): New public variable. --- gnu/packages/emacs.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 99e78d454..98d0ee1fb 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -7064,3 +7064,48 @@ navigation with the grails mode.") @code{org-tree-slide-mode} to enter the slideshow mode, and then @kbd{C->} and @kbd{C-<} to jump to the next and previous slide.") (license license:gpl3+)))) + +(define-public epipe + (let ((commit "c966d549d5416fb92ecf4bd4a0a5a8fc9239e3af") + (revision "1")) + (package + (name "epipe") + (version (string-append "0.0.1" "-" revision "." + (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cute-jumper/epipe") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0lkisi1s7sn12nx8zh58qmsxwnk1rjwryj18wcbr148xqz3swg57")))) + (build-system trivial-build-system) + (inputs + `(("bash" ,bash) + ("perl" ,perl))) + (arguments + '(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + ;; Copy source + (copy-recursively (assoc-ref %build-inputs "source") ".") + ;; Patch shebangs + (substitute* "epipe" + (("/usr/bin/env bash") + (string-append (assoc-ref %build-inputs "bash") "/bin/bash"))) + (substitute* "epipe.pl" + (("/usr/bin/perl") + (string-append (assoc-ref %build-inputs "perl") "/bin/perl"))) + ;; Installation + (for-each (lambda (file) + (install-file file (string-append %output "/bin"))) + '("epipe" "epipe.pl")) + #t))) + (home-page "https://github.com/cute-jumper/epipe") + (synopsis "Pipe to the @code{emacsclient}") + (description "@code{epipe} provides an utility to use your editor in +the pipeline, featuring the support for running @code{emacsclient}.") + (license license:gpl3+)))) -- 2.15.1 From unknown Mon Jun 23 00:34:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30433] [PATCH] gnu: Add epipe. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Feb 2018 19:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30433 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Oleg Pykhalov Cc: 30433@debbugs.gnu.org Received: via spool by 30433-submit@debbugs.gnu.org id=B30433.151846433427518 (code B ref 30433); Mon, 12 Feb 2018 19:39:02 +0000 Received: (at 30433) by debbugs.gnu.org; 12 Feb 2018 19:38:54 +0000 Received: from localhost ([127.0.0.1]:40051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elJwE-00079g-1w for submit@debbugs.gnu.org; Mon, 12 Feb 2018 14:38:54 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:33283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elJwC-00079Y-3N for 30433@debbugs.gnu.org; Mon, 12 Feb 2018 14:38:52 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6A60020D97; Mon, 12 Feb 2018 14:38:50 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Mon, 12 Feb 2018 14:38:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=eqBrMOHyQ3RKiSKCbydDgpqGW/Xk+ct+dd8eIICBfF8=; b=wC6nT G3J4f1q9v9NI7a9fu3HnJ+o+YaR+PrQV9Ns38uGo+Er6YEtE9wxvIvALXOurxFx3 TDaFcxpBAx9JEnwP40cTlAJGMS1/MXUL5DRsw64+lSKS6GVxu8WqeoxTvP+OnS3D EE9FPd/f7prZcWKbQFNQNcmzp+0jDbWgxLfGcg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=eqBrMOHyQ3RKiSKCbydDgpqGW/Xk+ ct+dd8eIICBfF8=; b=f1FVEETogLH4/2xrQD5bzI+368msxqYVHmxBHxZcu+iOy Ll3U+NkTzd76XU6zEt01GCKTAWQbDR7oLaQnRKPlBPK8BcVOaUihZctVEzK7DNOy ErwZWdGWbge0oR8yuU5VnmyHJXT0ELj6sIG+h7pWCvuESUX8EYFamn/7R7sBV9Tt EZ8lDEmp4y18ISvodhuKStQiCqc8vqQoLadNgLrfh2BT5OlBzfuJSx7CZAQpK198 EMSbC0tmDIsRRTavV+ct3gkGnElN5Bi1IJ0SMcWx2EWPoN3Um6i8x00ZQr2n2im5 SRxVmmkof5BNh53Ab5gt3uBkv/AKb+GSmzOJV9Q6Q== X-ME-Sender: Received: from localhost (unknown [172.56.34.105]) by mail.messagingengine.com (Postfix) with ESMTPA id 090357E5CA; Mon, 12 Feb 2018 14:38:49 -0500 (EST) Date: Mon, 12 Feb 2018 14:38:48 -0500 From: Leo Famulari Message-ID: <20180212193848.GA32133@jasmine.lan> References: <20180212074851.3515-1-go.wigust@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: <20180212074851.3515-1-go.wigust@gmail.com> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 12, 2018 at 10:48:51AM +0300, Oleg Pykhalov wrote: > * gnu/packages/emacs.scm (epipe): New public variable. Thanks! > +(define-public epipe > + (let ((commit "c966d549d5416fb92ecf4bd4a0a5a8fc9239e3af") > + (revision "1")) > + (package > + (name "epipe") > + (version (string-append "0.0.1" "-" revision "." > + (string-take commit 7))) This commit corresponds to the upstream tag "0.1.0", so you can omit the commit and revision variables, and just set the version to "0.1.0"... > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/cute-jumper/epipe") > + (commit commit))) ... and here use (commit version). > + (arguments > + '(#:modules ((guix build utils)) > + #:builder > + (begin > + (use-modules (guix build utils)) > + ;; Copy source > + (copy-recursively (assoc-ref %build-inputs "source") ".") > + ;; Patch shebangs > + (substitute* "epipe" > + (("/usr/bin/env bash") > + (string-append (assoc-ref %build-inputs "bash") "/bin/bash"))) > + (substitute* "epipe.pl" > + (("/usr/bin/perl") > + (string-append (assoc-ref %build-inputs "perl") "/bin/perl"))) > + ;; Installation > + (for-each (lambda (file) > + (install-file file (string-append %output "/bin"))) > + '("epipe" "epipe.pl")) > + #t))) I think you could use the patch-shebang procedure from (guix build utils), as in the package for woof. --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqB7UUACgkQJkb6MLrK fwj/GhAAvv8ngsNKgX6x4uHM/udOvjXi4qM6+1LJEqAGHmf/oW04MYUf1+KaPrKl Rv3TSX4bHAuf2slI2BvYKIcFzc6xD8XNP4NXQycFzxFJeaGvDt77Bze+zFQZn4o/ Jeiv6F2BwWGftU6sxDDClc5yPEGEVQeXwk3LcQHFyTIs/KEbFMcDsWG5h2son3YE 3dZkXyfdG5Y4Eeu0zOybCwpKCgQ2hvfSxL6l1zdyVJU5w+SP71PN1bznR4FZF7DH mkcvDCXhePTmU1iwxmEC5Bm/w5TJqter7cJBXUS97sr5S942C/625iUWMKUhdJb1 2EH1oY9TUFj7rM58SW5TSaC57VAA/woIuRTQRsIa1CwrSEkyUmhEhbxVhULjc+of xZsvBNhR/f7Pa6WUaxmRKlje+Z5co+f2mfCPEKaF2UzAqR7P5c/yIExO61eHj5UC e/592nyv88yh08+zTLj6m4y8OltaZGK8Kix/BCTkXrPjZfVTtFFq2tGFmLtKRwoo U1ZQ8kGoZDN8hEu7jOpcLCVLFzJ2CuDxgen50xnNFX8qSj6CQEplsCGp8QTtC+/k CH121Yt0VZlDb4TrL1on3w92qhHliluSQmn4C8/TnNBnSceW9VaV2gfwOgS38T5L rNO1BHgWwtKKmpIvvvAXHzUR4Yq2J6E5XvKHCT1h6CGgYwPwUFA= =PqOe -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G-- From unknown Mon Jun 23 00:34:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30433] [PATCH] gnu: Add epipe. Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Feb 2018 13:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30433 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 30433@debbugs.gnu.org Received: via spool by 30433-submit@debbugs.gnu.org id=B30433.151861407017600 (code B ref 30433); Wed, 14 Feb 2018 13:15:02 +0000 Received: (at 30433) by debbugs.gnu.org; 14 Feb 2018 13:14:30 +0000 Received: from localhost ([127.0.0.1]:42230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elwtK-0004Zn-FO for submit@debbugs.gnu.org; Wed, 14 Feb 2018 08:14:30 -0500 Received: from mail-lf0-f42.google.com ([209.85.215.42]:33875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elwtI-0004ZS-Sa for 30433@debbugs.gnu.org; Wed, 14 Feb 2018 08:14:29 -0500 Received: by mail-lf0-f42.google.com with SMTP id l191so720899lfe.1 for <30433@debbugs.gnu.org>; Wed, 14 Feb 2018 05:14:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ZIhHEg1seXmtGzQRQ3VdcT7tAGutChp8dSsj9b2Wnrw=; b=mz2RXtGLhq3xGn3/Aw3/XPu9SFePAWhcUhkRnhp9yKGMPhMBvykQQePhONDkFjWona Ace25HrmEidYrZssDeWbBfYfFFIQnRGeJ4HF8LRwWqtlbKUblKwTV9Vczixb2Gs3hEYp p401lTSNmqbGT9CN1njwZ7IPe+C9ufTPiL523CiwmFxbG6tf+bbkqGPZpN4OS7wJDoJ5 zGhT6/xVKbjGrMm7u3X9q1fMeaTfsnh5dBtkANxklPtMnIHWnZc9TIxhWjuIULaonBCW kKBgneHesCO9aHV0psm5HV2xmUyf251LxO6KFbuSduprAj/4kYYPuetcNcy9gyVzCrua Ze3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ZIhHEg1seXmtGzQRQ3VdcT7tAGutChp8dSsj9b2Wnrw=; b=cJgkUdLMZAmGh/Vc6qeYYCbxEbaxF80tVUmpi0m4oEFrTnO/hpvUpT+BEDScKWJZuf OMQfqetAQSBOw2geEPHi5qCw5iYWfXlUdcn6JYFqlaclznOHfPS7Yzg1NSQSIxqeQehw KTj6twwlGBQlFUpWAXhamZ6J0LrjftR3cupu4wFTVFKVwxN8GSfYXy34v7qhOBlRwHbG 3WaLHW1VlK+fS956rLPTH4u6Inrr0Pw1FhUxUnQWssQbk4BFnsOaPLE6nusan4hvUni4 fQKXN+r8fWRArteMj3e4o0FxlwKYCDxuGXvCm3O7A1QqSi58uMPB+onjZAxFU2SIU/Ex SDag== X-Gm-Message-State: APf1xPDgJ1/iQBY1PZooJwr8XZaNADki/EllE8z1vgcMVBMCpm5pKNTi w+Y5uz+2XquNswcd0i+4SMXNEQ== X-Google-Smtp-Source: AH8x227YaZRxix+SBZSq74bbWyG77sVYLyRcAMuWJX1OnMSE0lQAaN7cPYNHDDDrw34ktuyvRzTQxQ== X-Received: by 10.46.101.208 with SMTP id e77mr3280311ljf.66.1518614062741; Wed, 14 Feb 2018 05:14:22 -0800 (PST) Received: from magnolia (ppp78-37-133-175.pppoe.avangarddsl.ru. [78.37.133.175]) by smtp.gmail.com with ESMTPSA id 195sm1717204ljf.81.2018.02.14.05.14.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Feb 2018 05:14:21 -0800 (PST) From: Oleg Pykhalov References: <20180212074851.3515-1-go.wigust@gmail.com> <20180212193848.GA32133@jasmine.lan> Date: Wed, 14 Feb 2018 16:14:15 +0300 In-Reply-To: <20180212193848.GA32133@jasmine.lan> (Leo Famulari's message of "Mon, 12 Feb 2018 14:38:48 -0500") Message-ID: <874lmjiuhk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Leo Famulari writes: > On Mon, Feb 12, 2018 at 10:48:51AM +0300, Oleg Pykhalov wrote: >> * gnu/packages/emacs.scm (epipe): New public variable. > > Thanks! Thank you for review. >> +(define-public epipe >> + (let ((commit "c966d549d5416fb92ecf4bd4a0a5a8fc9239e3af") >> + (revision "1")) >> + (package >> + (name "epipe") >> + (version (string-append "0.0.1" "-" revision "." >> + (string-take commit 7))) > > This commit corresponds to the upstream tag "0.1.0", so you can omit the > commit and revision variables, and just set the version to "0.1.0"... Maybe it's better to get a source via url-fetch from GitHub archive tarball? >> + (source (origin >> + (method git-fetch) >> + (uri (git-reference >> + (url "https://github.com/cute-jumper/epipe") >> + (commit commit))) > > ... and here use (commit version). OK. >> + (arguments >> + '(#:modules ((guix build utils)) >> + #:builder >> + (begin >> + (use-modules (guix build utils)) >> + ;; Copy source >> + (copy-recursively (assoc-ref %build-inputs "source") ".") >> + ;; Patch shebangs >> + (substitute* "epipe" >> + (("/usr/bin/env bash") >> + (string-append (assoc-ref %build-inputs "bash") "/bin/bash"))) >> + (substitute* "epipe.pl" >> + (("/usr/bin/perl") >> + (string-append (assoc-ref %build-inputs "perl") "/bin/perl"))) >> + ;; Installation >> + (for-each (lambda (file) >> + (install-file file (string-append %output "/bin"))) >> + '("epipe" "epipe.pl")) >> + #t))) > > I think you could use the patch-shebang procedure from (guix build > utils), as in the package for woof. As I see only for Perl, because folling does nothing: --8<---------------cut here---------------start------------->8--- (patch-shebang "epipe" (list (string-append (assoc-ref %build-inputs "bash") "/bin"))) --8<---------------cut here---------------end--------------->8--- Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlqENicACgkQckbhHGm3 lWnlPw//Tf9Qqgp5YSpq7kWgJhAQUfLp5A2T6VN+9FKXNU/Efn1ieX1QthV8SZTU lgr8hpZQhn62a7XtC687Xc24G0VbEBet2WsFwuYooJ8bavZk+gTevLAtMeLoSKhd lWRj9fdFvze97PMpMZtoeQMylWAonpJHo15d8940spr52fp9CAApbUzujhWAVTD9 hBLyvjYLfK7OK2RACVQ9fG3SlnQvf4KzuqWr2tN/ONNsuxJdfX2WDCOOQoTjSH3w nuc2pEm5HuCoqprq7DYSd5roIuSN77rEVPWuST8ZN4pXygLSekulUp5uk4uo2JmR Ikt97zS0q6MQBWJ5S8NSVW5Aql+w5UrS8/K0S2tfqz0ifmiea2m09ir0to60Bue7 FtNxvPwHwjgN7CKmvRU1B175ugo0oRLBdBBozshgVrISGxiD5QK2RIw5yHWG+1OD 4XPMsjbwDQcKpz6H/hUyEUaQM5hxeh3M2sA+fmg8t9h6mxnNqop0n8nOv1PVqcHy ozzF9roPF/GxMhOjSz4BNYLo1QNmy5O6zLQXu2mAE5Yocp6UhM9QZsRtmwdkI2a0 THkl3Cmpf2C47U818TyruUSJfXGDuqgSNZ4ZNp0n2TUFWpdwYS6C687LHSTtn1pA G450suVu+oL2Q3+30fatv11he8q1IPA/iJpUDu/bvWSQaEVLXFA= =nSNa -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Jun 23 00:34:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30433] [PATCH] gnu: Add epipe. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Feb 2018 20:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30433 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Oleg Pykhalov Cc: 30433@debbugs.gnu.org Received: via spool by 30433-submit@debbugs.gnu.org id=B30433.15186415083323 (code B ref 30433); Wed, 14 Feb 2018 20:52:01 +0000 Received: (at 30433) by debbugs.gnu.org; 14 Feb 2018 20:51:48 +0000 Received: from localhost ([127.0.0.1]:43280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em41s-0000rX-D0 for submit@debbugs.gnu.org; Wed, 14 Feb 2018 15:51:48 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:48085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em41q-0000rP-Kv for 30433@debbugs.gnu.org; Wed, 14 Feb 2018 15:51:47 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 16BE120C18; Wed, 14 Feb 2018 15:51:46 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 14 Feb 2018 15:51:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=h5Q84kVbrrW0uJ9aSmuH1DJuB0Oa+c8bSIf79YkSvFM=; b=nuMva bUhTSA5qbr46/DlcHy+iym4cGsSqQXa88Z4Km5eEZ5c1jJeVSHLgQcr9IatXizMg 6jKWZKTrXHcYN7atRQS9eTfWIDZQW4psqUpW+ZSrZwbySYKqjH37pSBFco5rm0UI tVAGf9YbBRUj14JBDt/XVTQ8HcLxSnA3Sff3B8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=h5Q84kVbrrW0uJ9aSmuH1DJuB0Oa+ c8bSIf79YkSvFM=; b=drqm+UADhszOOSuu8pU2A/P/3PlqN0qZRKKAxcXTiZRsK XwcpVIdIF54xHud14lk9DU4oveedMO5nFGUtMSB638hqlADF9aUHXLqQILJ8hpXF cPpkuLsDsbphIzOtFK4RMQlD1cS3EIWUj1Nx0ncgJzmYvbZYiuIQ2zgambeHtoAS Kedtfx26DQcDt/gGQ08IcSWWoUmZ+YtUau334Mf+GOulc13J5RLybtiSp4b/ryFr dAiKhoSTDApXP/K1AEiHm+jVwY7qdxV5OhnkuzyJhFrRu+J6hrqAuKt2I+0nY13X 8bkBtlBR6xMqbpqYuK3V8deIIlTM/KrAfRZ9zsteQ== X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id BB94B24640; Wed, 14 Feb 2018 15:51:45 -0500 (EST) Date: Wed, 14 Feb 2018 15:51:44 -0500 From: Leo Famulari Message-ID: <20180214205144.GB18223@jasmine.lan> References: <20180212074851.3515-1-go.wigust@gmail.com> <20180212193848.GA32133@jasmine.lan> <874lmjiuhk.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <874lmjiuhk.fsf@gmail.com> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 14, 2018 at 04:14:15PM +0300, Oleg Pykhalov wrote: > Leo Famulari writes: > > This commit corresponds to the upstream tag "0.1.0", so you can omit the > > commit and revision variables, and just set the version to "0.1.0"... >=20 > Maybe it's better to get a source via url-fetch from GitHub archive > tarball? Yeah, if the result is the same I think it's better to use url-fetch. > > I think you could use the patch-shebang procedure from (guix build > > utils), as in the package for woof. >=20 > As I see only for Perl, because folling does nothing: > --8<---------------cut here---------------start------------->8--- > (patch-shebang "epipe" > (list (string-append (assoc-ref %build-inputs "bash") > "/bin"))) > --8<---------------cut here---------------end--------------->8--- Huh, weird! Well, I think that whatever works should be fine. --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqEoVwACgkQJkb6MLrK fwi7jhAA1FOtX/rBMG384HltweIsiC99/4t+zjZ3nCXgU0MrDEBEc0Ud/VpYmOqL uAeYWQaW8Y6L/uAwIlUBXNRLtn4x6N/jaX95ZOygGyODYeVvo/hw2cIDwAM0y33f D55+Q++6wT2fJup4N8hmpROlREeGghc0aORiAMdwoO+OlUoFcKmDGVsUOkMT3D0w kJLkkkCDmnoTqHqZR8OLLttNOHhqbrpBJj9Axtnq2IEdVox4gLCY972eh9mJ3cxf k6EyFKYhnhygJBi+0FCBrL82B81cAXWro9jQngG5wtcX3TMNmR0yYvm6VOeszpre 00FSkfMVqNIZ/8f0rKWL9u3j/SP/tU09avOB4kZAKYx/ZNP7EtfCQkVpT1q+f3cC KFoWzGVOL7fb5L0Lo64TeGf7+7VWVALX4jKphk5Y9DwWBZ5WBWumiZRnGHbPRB4o jb6XepmVc2pIfN80kfNfvLWSHWHqrFSzLZMxnr5Tsw1KFf5AjRBkxKsWRxbgE4Mx ZurFbn2RU0CruGmliEoI0WkN5LzpkBvKSr8spibwrnc+wu+0tU0cs8ZZ0Tl0fUbV Pt5fwTP+OFuLc9DdNykNnsbmTD9NM7qo9GoKdO2cip7lLl49j6Etm0Zj3viK3Ge6 61REU5BRJW23XKMvc73TA7zhL9agXF4/4ku0ebDLCJtNrEy0VgY= =KFYA -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS-- From unknown Mon Jun 23 00:34:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30433] [PATCH] gnu: Add epipe. In-Reply-To: <20180212074851.3515-1-go.wigust@gmail.com> Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Feb 2018 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30433 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 30433-done@debbugs.gnu.org, 30433@debbugs.gnu.org Received: via spool by 30433-submit@debbugs.gnu.org id=B30433.151871687611138 (code B ref 30433); Thu, 15 Feb 2018 17:48:02 +0000 Received: (at 30433) by debbugs.gnu.org; 15 Feb 2018 17:47:56 +0000 Received: from localhost ([127.0.0.1]:45074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emNdT-0002tT-TE for submit@debbugs.gnu.org; Thu, 15 Feb 2018 12:47:56 -0500 Received: from mail-lf0-f48.google.com ([209.85.215.48]:36124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emNdR-0002t9-7s; Thu, 15 Feb 2018 12:47:53 -0500 Received: by mail-lf0-f48.google.com with SMTP id t79so679110lfe.3; Thu, 15 Feb 2018 09:47:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version; bh=xQCZhjSHGzVCAfDIGAELQEyfrFfcKQNhaK6Q2Pfl5I4=; b=MyJ1OwkJoZWK4kq09kJ4epMUL+HMIQrqRkoeInsm3ciuLnGrXdxSl3PVJ3RIdvd0nv P9jc8BEJpi9mngYFz+BAVAAAIDY4b/5V0fMNznwKcn6kFOjP8I+V5CDJRRS0RWhy1sO/ lBWaE63p/cdekgby5SLhh0/f+sTK3pl606hbrEKMnpvGZa9PtgueP7OpTM+c4tbz3P89 EX/2lopcAL19ClAQkxIYHMolFPkJKqMDrfvQzBKjvx74IOML0KQ9LsK/OirsWKQ84JjH wiIa+cEc6tafIR/FXKSg4vcKlbAJ4GuL4tiYumYytuKA3rcBtcHjW+Kd2GuMyMffM5K9 rhjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :user-agent:mime-version; bh=xQCZhjSHGzVCAfDIGAELQEyfrFfcKQNhaK6Q2Pfl5I4=; b=GttxTbxDJTZZjaB2Ge6XPtpoWrhOGmJi0A6hSKN94B6f0Z9m6PNPKoTM3JeAC1lFbf w04EfSwPx7k0A++eSy7BZvcR6wA9T4zSa9LiwbqdDRqd0SGdbAlbVN1m6INyzhBBIN3M etnWv3nNkw0vozMK34RUjsi6aQS6FwIXQGJd4YGvJ0e4cxD5UEp/aiWm5R8aup7aWAcA RdtMVCT4Jor7oq1CwGMvnecGIShnxpjCE5hQXn/zhEH7DmiKFrPWjoQvUwVxqvmgeG3T sQr3z+DPmAQqpRUgedblUE115x0nWm+vGW0yoioBmWaeaVYCsu/pZKZaeW2a8bLGVe+2 JkKQ== X-Gm-Message-State: APf1xPCqLTvjwtIjq7c57gyeYm2buDBOOWcoY4MsSuiDjTbGHoMLPMGY IJLrrZtQ5CdN+9jWV1BCKnp7uw== X-Google-Smtp-Source: AH8x224YeuxWlJeJLfFBuLYmgKMMJ0H7zujVKpxYhI/FuQJyjmcB06xmzew+8syFSbzM5oaBLufokA== X-Received: by 10.46.8.18 with SMTP id 18mr2490245lji.147.1518716866456; Thu, 15 Feb 2018 09:47:46 -0800 (PST) Received: from magnolia (92-100-254-64.dynamic.avangarddsl.ru. [92.100.254.64]) by smtp.gmail.com with ESMTPSA id 65sm2703981lfa.77.2018.02.15.09.47.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Feb 2018 09:47:45 -0800 (PST) From: Oleg Pykhalov References: <20180212074851.3515-1-go.wigust@gmail.com> <20180212193848.GA32133@jasmine.lan> <874lmjiuhk.fsf@gmail.com> <20180214205144.GB18223@jasmine.lan> Date: Thu, 15 Feb 2018 20:47:32 +0300 Message-ID: <87a7waxhzf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Famulari writes: > On Wed, Feb 14, 2018 at 04:14:15PM +0300, Oleg Pykhalov wrote: >> Leo Famulari writes: >> > This commit corresponds to the upstream tag "0.1.0", so you can omit t= he >> > commit and revision variables, and just set the version to "0.1.0"... >>=20 >> Maybe it's better to get a source via url-fetch from GitHub archive >> tarball? > > Yeah, if the result is the same I think it's better to use url-fetch. OK. >> > I think you could use the patch-shebang procedure from (guix build >> > utils), as in the package for woof. >>=20 >> As I see only for Perl, because folling does nothing: >> --8<---------------cut here---------------start------------->8--- >> (patch-shebang "epipe" >> (list (string-append (assoc-ref %build-inputs "bash") >> "/bin"))) >> --8<---------------cut here---------------end--------------->8--- > > Huh, weird! Well, I think that whatever works should be fine. Pushed as 5b2382929959db9d883982329ec8fdf4103a9351 I'll close the bug report. Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlqFx7QACgkQckbhHGm3 lWltPw/+OOjbaEUkP2iNJvPpXyPSE80g7axHW0KE+JNClH08evOiKwOs2eN6CThO RYQ7O/3Siouwz1UGACSurP75pCzviN56KA4sMOS8D8m6GN+EycgmPHrvOHJBZKE5 bnnqrNuNdFHZ3ezbSm0VZYcQvqN7CIZCX+ih7DpmlT/bhitfsjByCb6gzIh6uUmH IsL4MsNJQc8ux868HKGs4RZUEdgxA07Ljnejhh1Hbik5bBEeOBgEjqWRsGDPXabw 2cckuFvYUPzMy2SSQ32TSfm1QZRP6Ex5wDhxizzpFNKulHGZWZH6Kbbd2kidcP+s k+UEroPQDJzJabrkB2SU0p+hynDJRQi30nhur7QXruUr2w/r2wCI95JqfPWTkAA5 AFqFbuIFcsms209+grGvbaa4IMmTVYLS+aNte+OsDqLQe9tHjnNcF+glASVDGgfa 4SzjPzYNgxvl8Ks6/8mLgWe4OPtMNAR5RDbounGesN1nVEC1YYeBYAoUwPfS7kVj fqvyoScN7TwipPQQI/WHGrMRy/mzVroBBUmO4JXfI6M+iBFKNynYzsT+naKDD8lf YqUaBk7D29Fhb3N52qQQ6aaM3imMwu+LGsZSvhfwJk2/KFvsXKREhho3X5b2U76O flV340Tq1i+AF3eyoBVBnreD3i++KaOGTY+zC+MYkk4J0AlK/pU= =d0x+ -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Jun 23 00:34:13 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Oleg Pykhalov Subject: bug#30433: closed (Re: [bug#30433] [PATCH] gnu: Add epipe.) Message-ID: References: <87a7waxhzf.fsf@gmail.com> <20180212074851.3515-1-go.wigust@gmail.com> X-Gnu-PR-Message: they-closed 30433 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 30433@debbugs.gnu.org Date: Thu, 15 Feb 2018 17:48:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1518716883-11159-1" This is a multi-part message in MIME format... ------------=_1518716883-11159-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30433: [PATCH] gnu: Add epipe. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30433@debbugs.gnu.org. --=20 30433: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30433 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1518716883-11159-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30433-done) by debbugs.gnu.org; 15 Feb 2018 17:47:56 +0000 Received: from localhost ([127.0.0.1]:45072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emNdT-0002tQ-KO for submit@debbugs.gnu.org; Thu, 15 Feb 2018 12:47:55 -0500 Received: from mail-lf0-f48.google.com ([209.85.215.48]:36124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emNdR-0002t9-7s; Thu, 15 Feb 2018 12:47:53 -0500 Received: by mail-lf0-f48.google.com with SMTP id t79so679110lfe.3; Thu, 15 Feb 2018 09:47:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version; bh=xQCZhjSHGzVCAfDIGAELQEyfrFfcKQNhaK6Q2Pfl5I4=; b=MyJ1OwkJoZWK4kq09kJ4epMUL+HMIQrqRkoeInsm3ciuLnGrXdxSl3PVJ3RIdvd0nv P9jc8BEJpi9mngYFz+BAVAAAIDY4b/5V0fMNznwKcn6kFOjP8I+V5CDJRRS0RWhy1sO/ lBWaE63p/cdekgby5SLhh0/f+sTK3pl606hbrEKMnpvGZa9PtgueP7OpTM+c4tbz3P89 EX/2lopcAL19ClAQkxIYHMolFPkJKqMDrfvQzBKjvx74IOML0KQ9LsK/OirsWKQ84JjH wiIa+cEc6tafIR/FXKSg4vcKlbAJ4GuL4tiYumYytuKA3rcBtcHjW+Kd2GuMyMffM5K9 rhjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :user-agent:mime-version; bh=xQCZhjSHGzVCAfDIGAELQEyfrFfcKQNhaK6Q2Pfl5I4=; b=GttxTbxDJTZZjaB2Ge6XPtpoWrhOGmJi0A6hSKN94B6f0Z9m6PNPKoTM3JeAC1lFbf w04EfSwPx7k0A++eSy7BZvcR6wA9T4zSa9LiwbqdDRqd0SGdbAlbVN1m6INyzhBBIN3M etnWv3nNkw0vozMK34RUjsi6aQS6FwIXQGJd4YGvJ0e4cxD5UEp/aiWm5R8aup7aWAcA RdtMVCT4Jor7oq1CwGMvnecGIShnxpjCE5hQXn/zhEH7DmiKFrPWjoQvUwVxqvmgeG3T sQr3z+DPmAQqpRUgedblUE115x0nWm+vGW0yoioBmWaeaVYCsu/pZKZaeW2a8bLGVe+2 JkKQ== X-Gm-Message-State: APf1xPCqLTvjwtIjq7c57gyeYm2buDBOOWcoY4MsSuiDjTbGHoMLPMGY IJLrrZtQ5CdN+9jWV1BCKnp7uw== X-Google-Smtp-Source: AH8x224YeuxWlJeJLfFBuLYmgKMMJ0H7zujVKpxYhI/FuQJyjmcB06xmzew+8syFSbzM5oaBLufokA== X-Received: by 10.46.8.18 with SMTP id 18mr2490245lji.147.1518716866456; Thu, 15 Feb 2018 09:47:46 -0800 (PST) Received: from magnolia (92-100-254-64.dynamic.avangarddsl.ru. [92.100.254.64]) by smtp.gmail.com with ESMTPSA id 65sm2703981lfa.77.2018.02.15.09.47.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Feb 2018 09:47:45 -0800 (PST) From: Oleg Pykhalov To: Leo Famulari Subject: Re: [bug#30433] [PATCH] gnu: Add epipe. References: <20180212074851.3515-1-go.wigust@gmail.com> <20180212193848.GA32133@jasmine.lan> <874lmjiuhk.fsf@gmail.com> <20180214205144.GB18223@jasmine.lan> Date: Thu, 15 Feb 2018 20:47:32 +0300 Message-ID: <87a7waxhzf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30433-done Cc: 30433-done@debbugs.gnu.org, 30433@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Famulari writes: > On Wed, Feb 14, 2018 at 04:14:15PM +0300, Oleg Pykhalov wrote: >> Leo Famulari writes: >> > This commit corresponds to the upstream tag "0.1.0", so you can omit t= he >> > commit and revision variables, and just set the version to "0.1.0"... >>=20 >> Maybe it's better to get a source via url-fetch from GitHub archive >> tarball? > > Yeah, if the result is the same I think it's better to use url-fetch. OK. >> > I think you could use the patch-shebang procedure from (guix build >> > utils), as in the package for woof. >>=20 >> As I see only for Perl, because folling does nothing: >> --8<---------------cut here---------------start------------->8--- >> (patch-shebang "epipe" >> (list (string-append (assoc-ref %build-inputs "bash") >> "/bin"))) >> --8<---------------cut here---------------end--------------->8--- > > Huh, weird! Well, I think that whatever works should be fine. Pushed as 5b2382929959db9d883982329ec8fdf4103a9351 I'll close the bug report. Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlqFx7QACgkQckbhHGm3 lWltPw/+OOjbaEUkP2iNJvPpXyPSE80g7axHW0KE+JNClH08evOiKwOs2eN6CThO RYQ7O/3Siouwz1UGACSurP75pCzviN56KA4sMOS8D8m6GN+EycgmPHrvOHJBZKE5 bnnqrNuNdFHZ3ezbSm0VZYcQvqN7CIZCX+ih7DpmlT/bhitfsjByCb6gzIh6uUmH IsL4MsNJQc8ux868HKGs4RZUEdgxA07Ljnejhh1Hbik5bBEeOBgEjqWRsGDPXabw 2cckuFvYUPzMy2SSQ32TSfm1QZRP6Ex5wDhxizzpFNKulHGZWZH6Kbbd2kidcP+s k+UEroPQDJzJabrkB2SU0p+hynDJRQi30nhur7QXruUr2w/r2wCI95JqfPWTkAA5 AFqFbuIFcsms209+grGvbaa4IMmTVYLS+aNte+OsDqLQe9tHjnNcF+glASVDGgfa 4SzjPzYNgxvl8Ks6/8mLgWe4OPtMNAR5RDbounGesN1nVEC1YYeBYAoUwPfS7kVj fqvyoScN7TwipPQQI/WHGrMRy/mzVroBBUmO4JXfI6M+iBFKNynYzsT+naKDD8lf YqUaBk7D29Fhb3N52qQQ6aaM3imMwu+LGsZSvhfwJk2/KFvsXKREhho3X5b2U76O flV340Tq1i+AF3eyoBVBnreD3i++KaOGTY+zC+MYkk4J0AlK/pU= =d0x+ -----END PGP SIGNATURE----- --=-=-=-- ------------=_1518716883-11159-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Feb 2018 07:49:25 +0000 Received: from localhost ([127.0.0.1]:38891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1el8rd-0001nE-JQ for submit@debbugs.gnu.org; Mon, 12 Feb 2018 02:49:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1el8rc-0001n1-C3 for submit@debbugs.gnu.org; Mon, 12 Feb 2018 02:49:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el8rV-0001jm-KD for submit@debbugs.gnu.org; Mon, 12 Feb 2018 02:49:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54027) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1el8rV-0001jH-FV for submit@debbugs.gnu.org; Mon, 12 Feb 2018 02:49:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1el8rU-0003ZK-02 for guix-patches@gnu.org; Mon, 12 Feb 2018 02:49:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el8rQ-0001aU-KL for guix-patches@gnu.org; Mon, 12 Feb 2018 02:49:16 -0500 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]:36422) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1el8rQ-0001YO-Ca for guix-patches@gnu.org; Mon, 12 Feb 2018 02:49:12 -0500 Received: by mail-lf0-x229.google.com with SMTP id t79so19178033lfe.3 for ; Sun, 11 Feb 2018 23:49:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=EOf4xugtQdKKnfuzpkkXVqA9zv8ANQvWphjAnAvUXhU=; b=dXbN/DgQCHBY8fsQ2Me9Adgcz3dmqBMdfdY1Kv16TL7vEy19WdPUkyohDJKUeL4qPh ox1INtYDnIlvv7EQ+bOyijbEj9d38G71K+SZvRfUC0dhn2E24L3bsa0GU3d81eREviv/ vGHSmk36tZEK872PcuEu0vOhs9w+hW6XxCT04ZUHPnW2wN/RXyY0lYHN248P1z3ZXAtx 7ILaq9r1UmHwxuU8GFIjzRqVEpRGKNLevPr8hF+kHx26yjSf8AuKWT9EWWIOSGSVDFb3 dwm5/KnKMBeBke50f8OCyGXUFcCZgQcIRra5l6tm5EVT/OnLpUGiLUCDYgLFdiwh0MYx drJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=EOf4xugtQdKKnfuzpkkXVqA9zv8ANQvWphjAnAvUXhU=; b=qB5k7I2vvIZUlR/JgImnPbBVMbK53rSdwBD/Q2aBAzccmtDj2JSd4685ok5XKefwnU hn4AIloUYfwtj9ghJaWWbjau7VfaE6mzrkXWObTw8HnM3F3tESrUkCK2OMtjREudMpYl nWWj9oDwIgaLNNjG9v3F2gxfVPP1IkihCiL8C7cXdDFpMAbENYbn0bBYR0sFe5Bt1Nm7 i4FiKj8NIWtwEvYUbzTsT04460gIdJL0GiyehHmL66tRE9qg5pS6eHLCdaRBPTlMjeye 6P9jtgbTbWiRlOZX9WZ8FPKWb46/a93eHf4CZpRimGCCNExjzZ5rP1sbR5NOqhgfLKf5 lX4A== X-Gm-Message-State: APf1xPDhzLGTP7fz4UpjInas/xrWyk+5v99fXJKc5JsBaWk991O6C/Sd VLqPmEZsPq4w1+nWtFswgvgdDY1o X-Google-Smtp-Source: AH8x227YJn5G5RyL/d8WD2VBs/5CCzMzckPmXwc8Cig0wgGN4s0kkvEqIqWaLcLbRswunEgoR+ZWBA== X-Received: by 10.46.91.134 with SMTP id m6mr6682069lje.107.1518421750512; Sun, 11 Feb 2018 23:49:10 -0800 (PST) Received: from localhost.localdomain ([178.70.240.222]) by smtp.gmail.com with ESMTPSA id r84sm1459775ljb.89.2018.02.11.23.49.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Feb 2018 23:49:09 -0800 (PST) From: Oleg Pykhalov To: guix-patches@gnu.org Subject: [PATCH] gnu: Add epipe. Date: Mon, 12 Feb 2018 10:48:51 +0300 Message-Id: <20180212074851.3515-1-go.wigust@gmail.com> X-Mailer: git-send-email 2.15.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: Oleg Pykhalov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) * gnu/packages/emacs.scm (epipe): New public variable. --- gnu/packages/emacs.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 99e78d454..98d0ee1fb 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -7064,3 +7064,48 @@ navigation with the grails mode.") @code{org-tree-slide-mode} to enter the slideshow mode, and then @kbd{C->} and @kbd{C-<} to jump to the next and previous slide.") (license license:gpl3+)))) + +(define-public epipe + (let ((commit "c966d549d5416fb92ecf4bd4a0a5a8fc9239e3af") + (revision "1")) + (package + (name "epipe") + (version (string-append "0.0.1" "-" revision "." + (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cute-jumper/epipe") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0lkisi1s7sn12nx8zh58qmsxwnk1rjwryj18wcbr148xqz3swg57")))) + (build-system trivial-build-system) + (inputs + `(("bash" ,bash) + ("perl" ,perl))) + (arguments + '(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + ;; Copy source + (copy-recursively (assoc-ref %build-inputs "source") ".") + ;; Patch shebangs + (substitute* "epipe" + (("/usr/bin/env bash") + (string-append (assoc-ref %build-inputs "bash") "/bin/bash"))) + (substitute* "epipe.pl" + (("/usr/bin/perl") + (string-append (assoc-ref %build-inputs "perl") "/bin/perl"))) + ;; Installation + (for-each (lambda (file) + (install-file file (string-append %output "/bin"))) + '("epipe" "epipe.pl")) + #t))) + (home-page "https://github.com/cute-jumper/epipe") + (synopsis "Pipe to the @code{emacsclient}") + (description "@code{epipe} provides an utility to use your editor in +the pipeline, featuring the support for running @code{emacsclient}.") + (license license:gpl3+)))) -- 2.15.1 ------------=_1518716883-11159-1--