From patchwork Fri Nov 25 01:44:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 44837 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 8FCC027BBEC; Fri, 25 Nov 2022 01:46:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7985E27BBE9 for ; Fri, 25 Nov 2022 01:46:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyNn2-0006nh-FT; Thu, 24 Nov 2022 20:46:04 -0500 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 1oyNn1-0006nY-Cm for guix-patches@gnu.org; Thu, 24 Nov 2022 20:46:03 -0500 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 1oyNn0-0008M7-J0 for guix-patches@gnu.org; Thu, 24 Nov 2022 20:46:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyNn0-0003PE-FI for guix-patches@gnu.org; Thu, 24 Nov 2022 20:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59558] [PATCH] gnu: Add buku-run. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Nov 2022 01:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59558 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59558@debbugs.gnu.org Cc: Hilton Chain X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166934071713033 (code B ref -1); Fri, 25 Nov 2022 01:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Nov 2022 01:45:17 +0000 Received: from localhost ([127.0.0.1]:32784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyNmH-0003O9-22 for submit@debbugs.gnu.org; Thu, 24 Nov 2022 20:45:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:56686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyNmF-0003Nz-CK for submit@debbugs.gnu.org; Thu, 24 Nov 2022 20:45:15 -0500 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 1oyNmF-0006eb-6t for guix-patches@gnu.org; Thu, 24 Nov 2022 20:45:15 -0500 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyNmD-0008EW-Gg for guix-patches@gnu.org; Thu, 24 Nov 2022 20:45:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1669340710; 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; bh=efzbPmA3YDnOnRddPD40O6pOozsXpxO7/SJ4uYoVT1M=; b=nT+hIrs7Fut00mF39S+MUcy90844PVMrH2Yw6iMmpy8sbyu8RlkUe7BUU3PsrwR8qwETP6 SgClmPXfRLRtmdJWzVQ9XHVrFrE+YTEFdp8DEbKln3rdlYxr+fdJ+Aacrv6fy5f6lfFfFl tXES0+lz7MzADN5/uQ4gstXkeOr5rKlaUY1TomdxJFaqWV2psj1ejPdLN4bWg/YYT/AhSY lGr2bJQtTC6AnuL5EHt4jKAOEjGQDOdYIdk/fa7qOBqLwiUBeUiRX3YDGA0DR6yBowea6B vvS3KkHyyIsR7OBywHpCHYQudorQGT0pWFcDAdGMy5oBKK9Q2e7CZSDD6EYELQ== Date: Fri, 25 Nov 2022 09:44:26 +0800 Message-Id: <20221125014426.7275-1-hako@ultrarare.space> MIME-Version: 1.0 X-Spamd-Bar: + Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/web.scm (buku-run): New variable. --- gnu/packages/web.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) base-commit: 5eb2995c006283fc0b649f10a6d002580ccac8d6 diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index d2c406915c..71241ef8d3 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -7701,6 +7701,47 @@ (define-public buku @command{bukuserver}.") (license license:gpl3+))) +(define-public buku-run + (package + (name "buku-run") + (version "0.1.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/carnager/buku_run") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1zyjjf3b8g3dnymcrg683rbnc6qrvx8ravfm833n7kjrqky3bczn")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ;no tests + #:make-flags + #~(list (string-append "DESTDIR=" #$output) + "PREFIX=") + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'fixpath + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "buku_run" + ((" \\<(rofi)\\>" all cmd) + (string-append " " (search-input-file inputs "/bin/rofi"))) + (("\\<(buku)\\> " all cmd) + (string-append (search-input-file inputs "/bin/buku") " ")) + (("\\<(awk|gawk)\\>" cmd) + (search-input-file inputs "/bin/awk")) + (("/etc/buku_run.config" path) + (string-append #$output path)))))))) + (inputs (list buku rofi)) + (home-page "https://github.com/carnager/buku_run") + (synopsis "rofi frontend for buku bookmarks manager") + (description + "This package provides a @code{rofi} frontend for @code{buku} bookmark +manager.") + (license license:gpl3))) + (define-public anonip (package (name "anonip")