all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: doubleplusgood23@gmail.com
To: guix-devel@gnu.org
Subject: [PATCH] Add neofetch to games.scm doubleplusgood23@gmail.com
Date: Fri, 05 May 2017 22:13:15 -0400	[thread overview]
Message-ID: <87mvaq4ts4.fsf@iori.i-did-not-set--mail-host-address--so-tickle-me> (raw)

[-- Attachment #1: Type: text/plain, Size: 48 bytes --]

Pretty small patch for my first time commiting. 

[-- Attachment #2: neofetch patch --]
[-- Type: text/x-patch, Size: 2437 bytes --]

From ff50a931905376440f245c37df620d724a78dde9 Mon Sep 17 00:00:00 2001
From: "Ethan R. Jones" <doubleplusgood23@gmail.com>
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 © 2017 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2017 nee <nee-git@hidamari.blue>
+;;; Copyright © 2017 Ethan "dpg" Jones <doubleplusgood23@gmail.com>
 ;;;
 ;;; 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 store.
+       (list (string-append "DESTDIR=" %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, 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


             reply	other threads:[~2017-05-06  2:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-06  2:13 doubleplusgood23 [this message]
2017-05-08 14:57 ` [PATCH] Add neofetch to games.scm doubleplusgood23@gmail.com Arun Isaac
2017-05-08 17:27 ` Alex Kost
2017-05-08 17:52   ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mvaq4ts4.fsf@iori.i-did-not-set--mail-host-address--so-tickle-me \
    --to=doubleplusgood23@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.