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 ms9.migadu.com with LMTPS id aM/lCsdphGSsTgAASxT56A (envelope-from ) for ; Sat, 10 Jun 2023 14:17:11 +0200 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 yKCICcdphGS/4AAAG6o9tA (envelope-from ) for ; Sat, 10 Jun 2023 14:17:11 +0200 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 CA0D93CE40 for ; Sat, 10 Jun 2023 14:17:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7xWl-0007Yx-0I; Sat, 10 Jun 2023 08:17:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7xWg-0007Yj-6P for guix-patches@gnu.org; Sat, 10 Jun 2023 08:17:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q7xWf-0001n3-Sb for guix-patches@gnu.org; Sat, 10 Jun 2023 08:17:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7xWf-000240-Nu for guix-patches@gnu.org; Sat, 10 Jun 2023 08:17:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64000] [PATCH 2/2] gnu: tessen: Wrap script. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 10 Jun 2023 12:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64000 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64000@debbugs.gnu.org Cc: Hilton Chain Received: via spool by 64000-submit@debbugs.gnu.org id=B64000.16863993847883 (code B ref 64000); Sat, 10 Jun 2023 12:17:01 +0000 Received: (at 64000) by debbugs.gnu.org; 10 Jun 2023 12:16:24 +0000 Received: from localhost ([127.0.0.1]:33401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7xW3-000235-KB for submit@debbugs.gnu.org; Sat, 10 Jun 2023 08:16:23 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:46392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7xW2-00022x-0g for 64000@debbugs.gnu.org; Sat, 10 Jun 2023 08:16:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1686399219; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SSS9VLQZ6QUiVEVnMjaNj559ZoGaQgy6G/qN/lxnJ7M=; b=0c/Tq++WbJ85r1ItN1+ihIzKHqmvQwBtS1nDbj8ukeZaQ1/LPm4b9CDgbrWV7PpBEDKYyN nZt6xnQjwfE3i67iDcDxZFA9WJTmkPav8gx6X9drwiP+Z0mjWHVhoblcUOnR+p2H0CWrlv H3e/pNRAfS7ZRq/IhNhudfXzQeFMCGehCs/WICheSoMLdKLd+cQUo7HeFJOtAgwe2Jz7gF DWrj2dPoUvbMEQwFa5lYYo2Y0wUtAbp0bOdhiqm8KDOK6ElDEmnTE92XWuyJGmX0sXNSb/ LfgSGg0qPVkrrMwYpvMRJTgyKL/cy+uh56Tkoj16WKWCpqndkmRmhX0Ak3yKBA== Date: Sat, 10 Jun 2023 20:16:23 +0800 Message-Id: <2b733f31bea76f91944f8eb4ce4b1ba11f52d668.1686398222.git.hako@ultrarare.space> In-Reply-To: <99bbb7c769098d85f4493a1fbe51fa735fad65bb.1686398222.git.hako@ultrarare.space> References: <99bbb7c769098d85f4493a1fbe51fa735fad65bb.1686398222.git.hako@ultrarare.space> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686399430; a=rsa-sha256; cv=none; b=eLY/qCXlQnDoRZW/4Zds7aqA5Jswo5+z822msB2/82hBd2NKhORcIkaZt2E+4KFiGexOqn kdxG68syqJHvlcHyGbXhHhrlZuyn5b/I8giKE65FvAB912HTFDxHcpqTLmrM8/DlXm2m/v 5pqjsIw5ngB8KaLgYUhb38xNbpFp55kIrezr2tSXVstyireb/ZCugtGEBhy9hzH/dvnEsX im+ZsLjnB/kPJCcBVknxVVFlwwUQ0c0GvxlDaS4ECPqHP6UXLTXVw5HPC2iuUmQXfHWHnS WWDhViR7DgZftmtpMNbXvnBlCeibTWabrCf8bhHapFG77A7HWmRzJKs8ZgjRCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b="0c/Tq++W"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686399430; h=from:from:sender:sender:reply-to: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=SSS9VLQZ6QUiVEVnMjaNj559ZoGaQgy6G/qN/lxnJ7M=; b=oBdOvWvbr8pv5HiAwnUfqWMjV+dXAw99BvYQruUCngVlI3IgtG8NKuwB2iK9lpuqtck8c2 ZtsRjQjv2mhbTXe9kAf/idebR6KWi5qfqPhs1Gb5CCXQtoHH/YX4/bi5WofbKRyLageDVi 3M5o63U+8k+mQzoblJQwOW2NOiUASoRYt0sHRuCQmrSrVZFer38ljnxiThtI6YtQ7GboTD UtqGldwSa+X4AOA+RS+ffDMo5fYxebg2YL9MepAniTyiBsKY4h3ORHBspeHYY1grA4H0LG 0l23lxHctW01rYmIFo52umvlKOF0ge5D+RfRrnGhB6Thhz4HslpQoODjIJD/Uw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b="0c/Tq++W"; dmarc=pass (policy=none) header.from=gnu.org; 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.71 X-Spam-Score: -3.71 X-Migadu-Queue-Id: CA0D93CE40 X-TUID: wuRVeWBUD0L0 * gnu/packages/password-utils.scm (tessen)[arguments]<#:phases> Add phase wrap. Remove phase patch-wtype-path. [inputs]: Add guile-3.0. --- gnu/packages/password-utils.scm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 5caf0b80b5..afd5109b31 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -875,20 +875,20 @@ (define-public tessen #f ;no tests #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'patch-wtype-path + (add-after 'install 'wrap (lambda* (#:key inputs #:allow-other-keys) - (substitute* "tessen" - (("notify-send") (search-input-file inputs - "/bin/notify-send")) - (("wl-copy") (search-input-file inputs "/bin/wl-copy")) - (("wtype") (search-input-file inputs "/bin/wtype")) - (("xdg-open") (search-input-file inputs "/bin/xdg-open"))))) + (wrap-script (string-append #$output "/bin/tessen") + `("PATH" suffix + ,(map (lambda (program) + (dirname (search-input-file + inputs (string-append "/bin/" program)))) + '("notify-send" "wl-copy" "wtype" "xdg-open")))))) (delete 'configure)) ;no configure script #:make-flags #~(list (string-append "DESTDIR=" #$output) "PREFIX=''"))) (native-inputs (list scdoc)) - (inputs (list libnotify wl-clipboard wtype xdg-utils)) + (inputs (list guile-3.0 libnotify wl-clipboard wtype xdg-utils)) (home-page "https://github.com/ayushnix/tessen") (synopsis "Frontend for password-store and gopass") (description "Tessen is a bash script that can autotype and copy data -- 2.40.1