unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#31059] [PATCH 2/2] gnu: Add emacs-pass.
@ 2018-04-04 11:27 Konrad Hinsen
  2018-04-04 12:21 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Konrad Hinsen @ 2018-04-04 11:27 UTC (permalink / raw)
  To: 31059

* gnu/packages/emacs.scm (emacs-pass): New variable.
---
 gnu/packages/emacs.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 185dc1c64..e9d51a4ed 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -7494,3 +7494,25 @@ Anzu.zim.")
 standard Unix password manager\").")
     (license license:gpl2+)))
 
+(define-public emacs-pass
+  (package
+    (name "emacs-pass")
+    (version "1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://stable.melpa.org/packages/pass-"
+             version
+             ".el"))
+       (sha256
+        (base32
+         "0fh11krsij07i3hdc13a3x13h28s8cnp3yl11nsm636ykw399mz0"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-password-store" ,emacs-password-store)
+       ("emacs-f" ,emacs-f)))
+    (home-page "https://github.com/NicolasPetton/pass")
+    (synopsis "Major mode for password-store.el")
+    (description "Major mode for password-store.el")
+    (license license:gpl3+)))
-- 
2.17.0

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

* [bug#31059] [PATCH 2/2] gnu: Add emacs-pass.
  2018-04-04 11:27 [bug#31059] [PATCH 2/2] gnu: Add emacs-pass Konrad Hinsen
@ 2018-04-04 12:21 ` Ludovic Courtès
  2018-04-04 18:15   ` Konrad Hinsen
  2018-04-04 18:16   ` [bug#31059] [PATCH] " Konrad Hinsen
  0 siblings, 2 replies; 5+ messages in thread
From: Ludovic Courtès @ 2018-04-04 12:21 UTC (permalink / raw)
  To: Konrad Hinsen; +Cc: 31059

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

Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:

> * gnu/packages/emacs.scm (emacs-pass): New variable.

I suggest something like the patch below.

In addition, could you change the ‘source’ to refer to a Git checkout
instead of MELPA?  (MELPA doesn’t preserve old versions.)

Thanks in advance,
Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 706 bytes --]

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index e52cd45cf..dc0793a3d 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -7512,6 +7512,7 @@ standard Unix password manager\").")
      `(("emacs-password-store" ,emacs-password-store)
        ("emacs-f" ,emacs-f)))
     (home-page "https://github.com/NicolasPetton/pass")
-    (synopsis "Major mode for password-store.el")
-    (description "Major mode for password-store.el")
+    (synopsis "Major mode for @file{password-store.el}")
+    (description "This is a major mode to manage your password-store (pass)
+keychain.  The keychain entries are displayed in a directory-like structure.")
     (license license:gpl3+)))

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

* [bug#31059] [PATCH 2/2] gnu: Add emacs-pass.
  2018-04-04 12:21 ` Ludovic Courtès
@ 2018-04-04 18:15   ` Konrad Hinsen
  2018-04-04 18:16   ` [bug#31059] [PATCH] " Konrad Hinsen
  1 sibling, 0 replies; 5+ messages in thread
From: Konrad Hinsen @ 2018-04-04 18:15 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 31059

Ludovic Courtès <ludo@gnu.org> writes:

> In addition, could you change the ‘source’ to refer to a Git checkout
> instead of MELPA?  (MELPA doesn’t preserve old versions.)

There are releases on Git, so yes, I could, and did :-)

I'll send the updated patch in another message.

Konrad.

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

* [bug#31059] [PATCH] gnu: Add emacs-pass.
  2018-04-04 12:21 ` Ludovic Courtès
  2018-04-04 18:15   ` Konrad Hinsen
@ 2018-04-04 18:16   ` Konrad Hinsen
  2018-04-08 20:43     ` bug#31059: " Ludovic Courtès
  1 sibling, 1 reply; 5+ messages in thread
From: Konrad Hinsen @ 2018-04-04 18:16 UTC (permalink / raw)
  To: 31059

* gnu/packages/emacs.scm (emacs-pass): New variable.
---
 gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 185dc1c64..e8475e9d7 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -7494,3 +7494,27 @@ Anzu.zim.")
 standard Unix password manager\").")
     (license license:gpl2+)))
 
+(define-public emacs-pass
+  (package
+    (name "emacs-pass")
+    (version "1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/NicolasPetton/pass/archive/"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0zlx9v6z0q3w9qhq9bq6vb7sli4c9x7qccm2wq55j0nw7bwy2yvj"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-password-store" ,emacs-password-store)
+       ("emacs-f" ,emacs-f)))
+    (home-page "https://github.com/NicolasPetton/pass")
+    (synopsis "Major mode for @file{password-store.el}")
+    (description "This is a major mode for managing password-store (pass)
+keychains. The keychain entries are displayed in a directory-like structure
+and can be consulted and modified.")
+    (license license:gpl3+)))
-- 
2.17.0

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

* bug#31059: [PATCH] gnu: Add emacs-pass.
  2018-04-04 18:16   ` [bug#31059] [PATCH] " Konrad Hinsen
@ 2018-04-08 20:43     ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2018-04-08 20:43 UTC (permalink / raw)
  To: Konrad Hinsen; +Cc: 31059-done

Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:

> * gnu/packages/emacs.scm (emacs-pass): New variable.

I added a ‘file-name’ to the origin to placate ‘guix lint’ and
committed.

Thanks!

Ludo’.

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

end of thread, other threads:[~2018-04-08 20:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-04 11:27 [bug#31059] [PATCH 2/2] gnu: Add emacs-pass Konrad Hinsen
2018-04-04 12:21 ` Ludovic Courtès
2018-04-04 18:15   ` Konrad Hinsen
2018-04-04 18:16   ` [bug#31059] [PATCH] " Konrad Hinsen
2018-04-08 20:43     ` bug#31059: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).