From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44820) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSkyy-0001J2-AL for guix-patches@gnu.org; Thu, 07 Nov 2019 11:50:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSkyw-0001cL-Q8 for guix-patches@gnu.org; Thu, 07 Nov 2019 11:50:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34991) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSkyw-0001cC-Mk for guix-patches@gnu.org; Thu, 07 Nov 2019 11:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iSkyw-0000Z5-Je for guix-patches@gnu.org; Thu, 07 Nov 2019 11:50:02 -0500 Subject: [bug#38096] [PATCH v2] gnu: packages: Add rofi-pass. References: <20191107081336.11498-1-tanguy@bioneland.org> In-Reply-To: <20191107081336.11498-1-tanguy@bioneland.org> Resent-Message-ID: From: Tanguy Le Carrour Date: Thu, 7 Nov 2019 17:49:08 +0100 Message-Id: <20191107164908.25221-1-tanguy@bioneland.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38096@debbugs.gnu.org Cc: m.othacehe@gmail.com, Tanguy Le Carrour * gnu/packages/password-utils.scm (rofi-pass): New public variable. --- gnu/packages/password-utils.scm | 45 +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index bfd3c25421..54d8212fb3 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2018 Amirouche Boubekki ;;; Copyright © 2018, 2019 Tim Gesthuizen ;;; Copyright © 2019 Jens Mølgaard +;;; Copyright © 2019 Tanguy Le Carrour ;;; ;;; This file is part of GNU Guix. ;;; @@ -43,6 +44,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system trivial) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) @@ -654,6 +656,49 @@ templates, clipboard handling, and per folder settings for multi-recipient encryption.") (license license:gpl3+))) +(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 argon2 (package (name "argon2") -- 2.24.0