From patchwork Thu Nov 7 08:13:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 15986 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 65748176E9; Thu, 7 Nov 2019 08:15:25 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 196C616835 for ; Thu, 7 Nov 2019 08:15:25 +0000 (GMT) Received: from localhost ([::1]:39714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iScwt-0001Kz-ER for patchwork@mira.cbaines.net; Thu, 07 Nov 2019 03:15:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48871) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iScwZ-0001Kl-Ma for guix-patches@gnu.org; Thu, 07 Nov 2019 03:15:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iScwY-0008QB-Dh for guix-patches@gnu.org; Thu, 07 Nov 2019 03:15:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:32803) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iScwY-0008Om-8R for guix-patches@gnu.org; Thu, 07 Nov 2019 03:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iScwY-0007tx-15 for guix-patches@gnu.org; Thu, 07 Nov 2019 03:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38096] [PATCH] gnu: packages: Add rofi-pass. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Nov 2019 08:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38096 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38096@debbugs.gnu.org Cc: Tanguy Le Carrour X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157311444730290 (code B ref -1); Thu, 07 Nov 2019 08:15:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Nov 2019 08:14:07 +0000 Received: from localhost ([127.0.0.1]:41624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iScvf-0007sU-2v for submit@debbugs.gnu.org; Thu, 07 Nov 2019 03:14:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:45464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iScvd-0007sM-Mi for submit@debbugs.gnu.org; Thu, 07 Nov 2019 03:14:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48770) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iScvc-0001AO-CB for guix-patches@gnu.org; Thu, 07 Nov 2019 03:14:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iScva-0002uA-2U for guix-patches@gnu.org; Thu, 07 Nov 2019 03:14:04 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:58995) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iScvZ-0002Yk-SI for guix-patches@gnu.org; Thu, 07 Nov 2019 03:14:02 -0500 Received: from rafflesia.easter-eggs.fr (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 85CD6240006; Thu, 7 Nov 2019 08:13:56 +0000 (UTC) From: Tanguy Le Carrour Date: Thu, 7 Nov 2019 09:13:36 +0100 Message-Id: <20191107081336.11498-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/xdisorg.scm (rofi-pass): New public variable. --- gnu/packages/xdisorg.scm | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 772e09d5b2..df13437d3c 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -56,6 +56,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system meson) #:use-module (guix build-system python) + #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages documentation) #:use-module (gnu packages admin) @@ -77,6 +78,7 @@ #:use-module (gnu packages maths) #:use-module (gnu packages m4) #:use-module (gnu packages ncurses) + #:use-module (gnu packages password-utils) #:use-module (gnu packages perl) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) @@ -1269,6 +1271,49 @@ applications you regularly use and also allows you to search for an application by name.") (license license:expat))) +(define-public rofi-pass + (package + (name "rofi-pass") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri + (string-append "https://raw.githubusercontent.com/carnager/rofi-pass/" + version "/rofi-pass")) + (sha256 + (base32 "0msldkndqp40nx1s5s7ggcr97ir4nshpmnyzvj5hqw1l7m3gvw6j")) + (file-name name))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((source (string-append (assoc-ref %build-inputs "source"))) + (script "rofi-pass") + (out (assoc-ref %outputs "out"))) + (copy-file source script) + (chmod script #o555) + (install-file script (string-append out "/bin")))))) + (propagated-inputs + `(("password-store" ,password-store) + ("rofi" ,rofi) + ("xdotool" ,xdotool))) + (home-page "https://github.com/carnager/rofi-pass") + (synopsis "Handle Simple Password Store in a convenient way using rofi") + (description "Rofi-pass provides a way to maniplutate information stored +using password-store through rofi interface: +@enumerate +@item open URLs of entries with hotkey; +@item type any field from entry; +@item auto-typing of user and/or password fields; +@item auto-typing username based on path; +@item auto-typing of more than one field, using the autotype entry; +@item bookmarks mode (open stored URLs in browser, default: Alt+x). +@end enumerate") + (license license:gpl3))) + (define-public tint2 (package (name "tint2")