From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3gdA-0001i0-Ho for guix-patches@gnu.org; Wed, 04 Apr 2018 07:31:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3gd4-0000TF-KD for guix-patches@gnu.org; Wed, 04 Apr 2018 07:31:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58021) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f3gd4-0000Sz-Gg for guix-patches@gnu.org; Wed, 04 Apr 2018 07:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f3gd4-0005jh-9M for guix-patches@gnu.org; Wed, 04 Apr 2018 07:31:02 -0400 Subject: [bug#31058] [PATCH 1/2] gnu: Add emacs-password-store. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3gcN-0000zg-6E for guix-patches@gnu.org; Wed, 04 Apr 2018 07:30:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3gcK-0008R3-2M for guix-patches@gnu.org; Wed, 04 Apr 2018 07:30:19 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:46925) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f3gcJ-0008Qt-Ri for guix-patches@gnu.org; Wed, 04 Apr 2018 07:30:15 -0400 From: Konrad Hinsen Date: Wed, 4 Apr 2018 13:27:26 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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: 31058@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-password-store): New variable. --- gnu/packages/emacs.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 4e969cbe7..185dc1c64 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -100,6 +100,7 @@ #:use-module (gnu packages fribidi) #:use-module (gnu packages gd) #:use-module (gnu packages fontutils) + #:use-module (gnu packages password-utils) #:use-module (guix utils) #:use-module (srfi srfi-1) #:use-module (ice-9 match)) @@ -7458,3 +7459,38 @@ directories of plain text notes, inspired by Notational Velocity.") matches\" in the mode line in various search modes. This is an Emacs port of Anzu.zim.") (license license:gpl3+))) + +(define-public emacs-password-store + (package + (name "emacs-password-store") + (version "1.7.1") + (source (origin + (method url-fetch) + (uri + (string-append "https://git.zx2c4.com/password-store/snapshot/" + "password-store-" version ".tar.xz")) + (sha256 + (base32 + "0scqkpll2q8jhzcgcsh9kqz0gwdpvynivqjmmbzax2irjfaiklpn")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'extract-el-file + (lambda _ + (copy-file "contrib/emacs/password-store.el" "password-store.el") + (delete-file-recursively "contrib") + (delete-file-recursively "man") + (delete-file-recursively "src") + (delete-file-recursively "tests")))))) + (propagated-inputs + `(("emacs-f" ,emacs-f) + ("emacs-s" ,emacs-s) + ("password-store" ,password-store))) + (home-page "https://git.zx2c4.com/password-store/tree/contrib/emacs") + (synopsis "Password store (pass) support for Emacs") + (description + "This package provides functions for working with pass (\"the +standard Unix password manager\").") + (license license:gpl2+))) + -- 2.17.0