From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:53518) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7hLI-0004ht-73 for guix-patches@gnu.org; Tue, 10 Sep 2019 10:42:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7hLG-0003wj-MD for guix-patches@gnu.org; Tue, 10 Sep 2019 10:42:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60967) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i7hLG-0003wc-Hq for guix-patches@gnu.org; Tue, 10 Sep 2019 10:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i7hLG-0007mO-DL for guix-patches@gnu.org; Tue, 10 Sep 2019 10:42:02 -0400 Subject: [bug#37364] [PATCH] - Amended: Add copyright line and gpg sign email References: <87woeg3mcy.fsf@rekahsoft.ca> In-Reply-To: <87woeg3mcy.fsf@rekahsoft.ca> Resent-Message-ID: From: "Collin J. Doering" Date: Tue, 10 Sep 2019 10:41:30 -0400 Message-ID: <87pnk82oyt.fsf@rekahsoft.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: 37364@debbugs.gnu.org --=-=-= Content-Type: text/plain Did not add a copyright line to the modified file in this patch. I have fixed this and updated the patch accordingly. Additionally I have signed this email. Kind regards, -- Collin J. Doering http://rekahsoft.ca http://blog.rekahsoft.ca http://git.rekahsoft.ca --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-z-for-zsh.patch Content-Transfer-Encoding: quoted-printable >From 299cb02e12cc13dbdb762d6b4ea3ca791556dcaa Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Tue, 10 Sep 2019 10:38:04 -0400 Subject: [PATCH] gnu: Add z for zsh * gnu/packages/shellutils.scm (z): New variable. Signed-off-by: Collin J. Doering --- gnu/packages/shellutils.scm | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index f7542ea759..878620d8c0 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -5,6 +5,7 @@ ;;; Copyright =C2=A9 2017 Stefan Reich=C3=B6r ;;; Copyright =C2=A9 2018 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2018 Benjamin Slade +;;; Copyright =C2=A9 2019 Collin J. Doering ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,11 +34,55 @@ #:use-module (gnu packages ncurses) #:use-module (gnu packages readline) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages compression) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system python)) =20 +(define-public z + (package + (name "z") + (version "1.11") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rupa/z.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13zbgkj6y0qhvn5jpkrqbd4jjxjr789k228iwma5hjfh1nx7ghyb")))) + (build-system gnu-build-system) + (native-inputs + `(("gzip" ,gzip))) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (delete 'check) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (man-path (string-append out "/share/man/man1")) + (install-path (string-append out "/bin"))) + (mkdir-p install-path) + (copy-file "z.sh" (string-append install-path "/z.sh")) + (chmod (string-append install-path "/z.sh") #o755) + + (mkdir-p man-path) + (invoke "gzip" "z.1") + (copy-file "z.1.gz" (string-append man-path "/z.1.gz")) + (chmod (string-append man-path "/z.1.gz") #o744))))))) + (synopsis "Jump about directories") + (description + "Tracks your most used directories, based on freecency. After a short +learning phase, z will take you to the most frecent directory that matches +ALL of the regexes given on the command line in order.") + (home-page "https://github.com/rupa/z") + (license license:expat))) + (define-public envstore (package (name "envstore") --=20 2.23.0 --=-=-=--