From patchwork Thu Sep 8 03:58:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kiasoc5 X-Patchwork-Id: 42325 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1741C27BBEA; Thu, 8 Sep 2022 05:00:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BBDD427BBE9 for ; Thu, 8 Sep 2022 05:00:20 +0100 (BST) Received: from localhost ([::1]:32772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oW8iB-0006wH-VH for patchwork@mira.cbaines.net; Thu, 08 Sep 2022 00:00:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oW8hv-0006w0-9x for guix-patches@gnu.org; Thu, 08 Sep 2022 00:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oW8hv-0004Qr-15 for guix-patches@gnu.org; Thu, 08 Sep 2022 00:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oW8hu-0005d8-T4 for guix-patches@gnu.org; Thu, 08 Sep 2022 00:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57668] [PATCH 2/2] gnu: Add grml-zsh-config. References: <9108062aa94dec4677225fa65b4e56ba19c5222d.1662609077.git.kiasoc5@disroot.org> In-Reply-To: <9108062aa94dec4677225fa65b4e56ba19c5222d.1662609077.git.kiasoc5@disroot.org> Resent-From: kiasoc5 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Sep 2022 04:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57668 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57668@debbugs.gnu.org Cc: kiasoc5 Received: via spool by 57668-submit@debbugs.gnu.org id=B57668.166260958621553 (code B ref 57668); Thu, 08 Sep 2022 04:00:02 +0000 Received: (at 57668) by debbugs.gnu.org; 8 Sep 2022 03:59:46 +0000 Received: from localhost ([127.0.0.1]:56901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oW8he-0005bY-Ca for submit@debbugs.gnu.org; Wed, 07 Sep 2022 23:59:46 -0400 Received: from knopi.disroot.org ([178.21.23.139]:45804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oW8hc-0005bN-JQ for 57668@debbugs.gnu.org; Wed, 07 Sep 2022 23:59:45 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 486F649F8E; Thu, 8 Sep 2022 05:59:43 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1EyQlKMp5nFu; Thu, 8 Sep 2022 05:59:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662609581; bh=H7fvH1ybRiqZ1zDjnO1MAdthdStSDYTPxilMeYYbYsI=; h=From:To:Cc:Subject:Date; b=NNjDjBTcXWMXXcATb/4jZyUUfGQbNwy5wvOAcSFNEHtBa7Huhp70JMNqqa4rkK9Yj XBdaGCoT/WS6/nblAA3UbqbTYgYk/8ycZ6qYvWa0lc8xe3fhS517ZayvJZB5lfZOIF kcFu2Mi4/xh9wLWBaDsUr3CW0U1dLLOAlWVnMP4RtjlptOSeuKjWe8BAmUXEGNc513 N3Oxoa4YUmOocRYpIHLILlrQnx7RSMtbjn8exJ6xhg41ob+wldAvdzjOl/X7WIDFS9 iHWZ+zGADgLKReOMReq7McaeTRBq1+ciXlft4OdyGoc+6V27N55M4mknFyI+V/Jcic e9JS1BTNusqKQ== Date: Wed, 7 Sep 2022 23:58:57 -0400 Message-Id: Mime-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: kiasoc5 X-ACL-Warn: , kiasoc5 via Guix-patches X-Patchwork-Original-From: kiasoc5 via Guix-patches via From: kiasoc5 X-getmail-retrieved-from-mailbox: Patches * gnu/packages/shellutils.scm (grml-zsh-config): New variable. --- gnu/packages/shellutils.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) base-commit: b45a44eaad890f31d9418dbb8cb14e3ee1d83c19 prerequisite-patch-id: be0e6a7e441cb8ecb5efd53732b4830b3b64a29f diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 110cbe9fda..0698c25598 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -38,6 +38,7 @@ (define-module (gnu packages shellutils) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system python) @@ -56,6 +57,7 @@ (define-module (gnu packages shellutils) #:use-module (gnu packages readline) #:use-module (gnu packages ruby) #:use-module (gnu packages shells) + #:use-module (gnu packages textutils) #:use-module (gnu packages tmux) #:use-module (gnu packages vim)) @@ -677,3 +679,35 @@ (define-public grc @end example ") (license license:gpl2))) + +(define-public grml-zsh-config + (package + (name "grml-zsh-config") + (version "0.19.3") + (source (origin + (method url-fetch) + (uri (string-append + "https://deb.grml.org/pool/main/g/grml-etc-core/grml-etc-core_" + version ".tar.gz")) + (sha256 + (base32 + "05fri77028znjnvmh8mz3424rn8ilysj7hn8br2hk1qwkp4zzwp9")))) + (build-system copy-build-system) + (arguments + (list + #:phases + #~(modify-phases + %standard-phases + (add-before 'install 'make-doc + (lambda _ (with-directory-excursion "doc" (invoke "make"))))) + #:install-plan + #~'(("etc/skel/.zshrc" "etc/skel/.zshrc") + ("etc/zsh/keephack" "etc/zsh/keephack") + ("etc/zsh/zshrc" "etc/zsh/zshrc") + ("doc/grmlzshrc.5" "share/man/man5/grmlzshrc.5")))) + (native-inputs (list txt2tags)) + (home-page "https://grml.org/zsh/") + (synopsis "grml's zsh configuration") + (description "This package provides an interactive setup for zsh preconfigured +by the Grml project.") + (license license:gpl2)))