From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jessica Tallon Subject: [PATCH] gnu: Add pass. Date: Mon, 08 Feb 2016 23:27:44 +0100 Message-ID: <87lh6u6dnj.fsf@tsyesika.se> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aStLc-0001Kh-Jt for guix-devel@gnu.org; Mon, 08 Feb 2016 16:27:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aStLY-0003Ne-Eq for guix-devel@gnu.org; Mon, 08 Feb 2016 16:27:52 -0500 Received: from gilman.megworld.co.uk ([85.119.84.23]:42389 helo=mail.megworld.co.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aStLY-0003NY-21 for guix-devel@gnu.org; Mon, 08 Feb 2016 16:27:48 -0500 Received: from Tadashi (c83-250-154-198.bredband.comhem.se [83.250.154.198]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.megworld.co.uk (Postfix) with ESMTPSA id 49461114093 for ; Mon, 8 Feb 2016 21:27:45 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel --=-=-= Content-Type: text/plain Hello, I've finally got around to packaging the pass password manager. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-pass.patch >From 86ab2ad8f47cb72780cf0140352a9a5c26af36f8 Mon Sep 17 00:00:00 2001 From: Jessica Tallon Date: Mon, 8 Feb 2016 22:12:50 +0100 Subject: [PATCH] gnu: Add pass. * gnu/packages/password-utils.scm (pass): New variable. --- gnu/packages/password-utils.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 7c128a3..3a8cefa 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -25,6 +25,7 @@ #:use-module (guix build-system gnu) #:use-module (guix download) #:use-module (guix packages) + #:use-module (gnu packages admin) #:use-module (gnu packages compression) #:use-module (gnu packages gnupg) #:use-module (gnu packages gtk) @@ -35,6 +36,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages tls) #:use-module (gnu packages qt) + #:use-module (gnu packages version-control) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) #:use-module (guix build-system python)) @@ -241,3 +243,39 @@ JSON files. It has a command line interface as well as a very simple graphical interface, which can even \"type\" your passwords into any X11 window.") (license license:gpl3+))) + +(define-public pass + (package + (name "pass") + (version "1.6.5") + (source (origin + (method url-fetch) + (uri + (string-append "https://git.zx2c4.com/password-store/snapshot/" + "password-store-" version ".tar.xz")) + (sha256 + (base32 + "05bk3lrp5jwg0v338lvylp7glpliydzz4jf5pjr6k3kagrv3jyik")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (alist-delete 'configure %standard-phases) + #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output)) + ;; The tests mysteriously hang, I've tired it outside of guix and + ;; they run perfectly fine. Not sure why so for now I've disabled + ;; them. + #:tests? #f + #:test-target "test")) + (inputs `(("gnupg" ,gnupg) + ("pwgen" ,pwgen) + ("xclip" ,xclip) + ("git" ,git) + ("tree" ,tree))) + (home-page "http://www.passwordstore.org/") + (synopsis "Encrypted password manager") + (description "Pass is a password manager which uses gnupg to store, retrieve +generated passwords. The tool stores each password in its own file gpg +encrypted allowing the program to be simple yet secure. Synchronization is +possible with inbuild git support which commits changes to your password database +to a git repository that can be managed through the pass command.") + (license license:gpl2+))) -- 2.6.3 --=-=-=--