Subject: bug#26844: [PATCH] gnu: add neofetch

From: "Ethan R. Jones" <[email-masked]>
Date: Mon, 8 May 2017 16:14:21 -0400

---
 gnu/packages/games.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index b47a66193..8e0331d26 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -29,6 +29,8 @@
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2017 nee <[email-masked]>
 ;;; Copyright © 2017 Clément Lassieur <[email-masked]>
+;;; Copyright © 2017 Ethan R. Jones <[email-masked]>
+;;;
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4168,3 +4170,36 @@ at their peak of economic growth and military prowess.
                    license:lgpl3
                    license:mpl2.0
                    license:zlib))))
+
+(define-public neofetch
+  (package
+    (name "neofetch")
+    (version "3.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri
+               (string-append "https://github.com/dylanaraps/neofetch/archive/"
+                              version ".tar.gz"))
+              (file-name (string-append name "-" version))
+              (sha256
+               (base32
+                "1rgznkl7a5q7lnc6zxlwvinq20b7k46n949l1hiwifarv0jgwynv"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:tests? #f ;; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (delete 'build))
+       #:make-flags  ;; proper DESTDIR
+       (list (string-append "DESTDIR=" %output))))
+    (inputs `(("bash" ,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, your 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)))
+
-- 
2.12.2