all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#57794] [PATCH 0/1] gnu: Add cpass.
@ 2022-09-14  6:47 ( via Guix-patches via
  2022-09-14  6:48 ` [bug#57794] [PATCH 1/1] " ( via Guix-patches via
  2022-10-06 14:17 ` bug#57794: [PATCH 0/1] " Christopher Baines
  0 siblings, 2 replies; 3+ messages in thread
From: ( via Guix-patches via @ 2022-09-14  6:47 UTC (permalink / raw)
  To: 57794; +Cc: (

This patch adds ``cpass'', a TUI interface for the ``pass'' password
manager.

( (1):
  gnu: Add cpass.

 gnu/packages/password-utils.scm | 38 +++++++++++++++++++++++++++++++--
 1 file changed, 36 insertions(+), 2 deletions(-)

-- 
2.37.3





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#57794] [PATCH 1/1] gnu: Add cpass.
  2022-09-14  6:47 [bug#57794] [PATCH 0/1] gnu: Add cpass ( via Guix-patches via
@ 2022-09-14  6:48 ` ( via Guix-patches via
  2022-10-06 14:17 ` bug#57794: [PATCH 0/1] " Christopher Baines
  1 sibling, 0 replies; 3+ messages in thread
From: ( via Guix-patches via @ 2022-09-14  6:48 UTC (permalink / raw)
  To: 57794; +Cc: (

* gnu/packages/password-utils.scm (cpass): New variable.
---
 gnu/packages/password-utils.scm | 38 +++++++++++++++++++++++++++++++--
 1 file changed, 36 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 003e346305..bcc1d9421d 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -36,6 +36,7 @@
 ;;; Copyright © 2021 David Dashyan <mail@davie.li>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2022 ( <paren@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -58,6 +59,7 @@ (define-module (gnu packages password-utils)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
+  #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
   #:use-module (guix download)
   #:use-module (guix gexp)
@@ -109,8 +111,7 @@ (define-module (gnu packages password-utils)
   #:use-module (gnu packages wxwidgets)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xorg)
-  #:use-module (gnu packages xml)
-  #:use-module (guix build-system python))
+  #:use-module (gnu packages xml))
 
 (define-public pwgen
   (package
@@ -1315,3 +1316,36 @@ (define-public pass-tomb
 therefore you don't need to manage more key or secret.  Moreover, you can ask
 pass-tomb to automatically close your store after a given time.")
     (license license:gpl3+)))
+
+(define-public cpass
+  (package
+    (name "cpass")
+    (version "0.9.4")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "cpass" version))
+              (sha256
+               (base32
+                "1zp3a8mgqxn916fzj1v2yhgnl7v6s0vnd0qcghqs3qq648qmlwr5"))))
+    (build-system python-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'patch-pass-refs
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (substitute* "cpass.py"
+                     (("'pass'")
+                      (string-append "'"
+                                     (search-input-file inputs
+                                                        "bin/pass")
+                                     "'"))
+                     (("\\.password_store")
+                      ".password-store")))))))
+    (inputs (list password-store))
+    (propagated-inputs (list python-urwid))
+    (home-page "https://github.com/OliverLew/cpass")
+    (synopsis "Textual interface for @command{pass}")
+    (description
+     "@command{cpass} is a terminal user interface for @command{pass}.
+It supports both vim-like keybindings and the mouse.")
+    (license license:expat)))
-- 
2.37.3





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#57794: [PATCH 0/1] gnu: Add cpass.
  2022-09-14  6:47 [bug#57794] [PATCH 0/1] gnu: Add cpass ( via Guix-patches via
  2022-09-14  6:48 ` [bug#57794] [PATCH 1/1] " ( via Guix-patches via
@ 2022-10-06 14:17 ` Christopher Baines
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2022-10-06 14:17 UTC (permalink / raw)
  To: (; +Cc: 57794-done

[-- Attachment #1: Type: text/plain, Size: 377 bytes --]


"( via Guix-patches" via <guix-patches@gnu.org> writes:

> This patch adds ``cpass'', a TUI interface for the ``pass'' password
> manager.
>
> ( (1):
>   gnu: Add cpass.
>
>  gnu/packages/password-utils.scm | 38 +++++++++++++++++++++++++++++++--
>  1 file changed, 36 insertions(+), 2 deletions(-)

Thanks, pushed to master as 5b42b64ea89564c58325d16d3d0f4a0a03ebae0f.

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-06 14:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-14  6:47 [bug#57794] [PATCH 0/1] gnu: Add cpass ( via Guix-patches via
2022-09-14  6:48 ` [bug#57794] [PATCH 1/1] " ( via Guix-patches via
2022-10-06 14:17 ` bug#57794: [PATCH 0/1] " Christopher Baines

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.