From mboxrd@z Thu Jan 1 00:00:00 1970 From: doubleplusgood23@gmail.com Subject: [PATCH] Add neofetch to games.scm doubleplusgood23@gmail.com Date: Fri, 05 May 2017 22:13:15 -0400 Message-ID: <87mvaq4ts4.fsf@iori.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6pFH-0006L0-0v for guix-devel@gnu.org; Fri, 05 May 2017 22:14:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6pFC-0004st-TE for guix-devel@gnu.org; Fri, 05 May 2017 22:14:54 -0400 Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]:35595) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6pFC-0004sc-P6 for guix-devel@gnu.org; Fri, 05 May 2017 22:14:50 -0400 Received: by mail-qk0-x22c.google.com with SMTP id a72so2823619qkj.2 for ; Fri, 05 May 2017 19:14:49 -0700 (PDT) Received: from iori (c-67-186-6-175.hsd1.pa.comcast.net. [67.186.6.175]) by smtp.googlemail.com with ESMTPSA id j1sm5138724qkf.57.2017.05.05.19.14.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 May 2017 19:14:47 -0700 (PDT) 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" To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Pretty small patch for my first time commiting. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-Adding-neofetch-to-the-games-package-expression.patch Content-Transfer-Encoding: quoted-printable Content-Description: neofetch patch >From ff50a931905376440f245c37df620d724a78dde9 Mon Sep 17 00:00:00 2001 From: "Ethan R. Jones" Date: Fri, 5 May 2017 22:02:48 -0400 Subject: [PATCH] Adding neofetch to the games package expression. --- gnu/packages/games.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index b31bb93db..b0831b4a0 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -28,6 +28,7 @@ ;;; Copyright =C2=A9 2017 Arun Isaac ;;; Copyright =C2=A9 2017 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2017 nee +;;; Copyright =C2=A9 2017 Ethan "dpg" Jones ;;; ;;; This file is part of GNU Guix. ;;; @@ -3941,3 +3942,37 @@ fabulous Orb of Zot.") license:expat license:zlib license:asl2.0)))) + +(define-public neofetch + (package + (name "neofetch") + (version "3.1.0") + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/dylanaraps/neofetch.git") + (commit version))) + (file-name (string-append name "-" version)) + (sha256 + (base32 + "0z2ch1j9m5xsdaqn89dd7xlick67jfqpa90mb4djyycgak9751ca")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ;; Because neofetch is a bash script it only needs make= install. + #:strip-binaries? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build)) + #:make-flags ;; We need to the Makefile to output to our proper st= ore. + (list (string-append "DESTDIR=3D" %output)))) + (inputs `(("bash" ,bash))) ;; Only requires bash! + (synopsis "System info script") + (description "Neofetch is a CLI system information tool written in +BASH. Neofetch displays information about your system next to an image, y= our OS +logo, or any ASCII file of your choice. The main purpose of Neofetch is +to be used in screenshots to show other users what OS/Distro you're +running, what Theme/Icons you're using etc. ") + (home-page "https://github.com/dylanaraps/neofetch") + (license license:expat))) --=20 2.12.2 --=-=-=--