summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2021-04-24 22:09:25 +0530
committerGuix Patches Tester <>2021-04-24 17:55:22 +0100
commit082de4f161aa7f9b63e6d6d8712c295aba3cfe67 (patch)
treee1edb22bbfff9530f069a67cbef529b3b142328a
parent5dcc61a62f1052e123e092094714d5eed105e753 (diff)
downloadguix-patches-082de4f161aa7f9b63e6d6d8712c295aba3cfe67.tar
guix-patches-082de4f161aa7f9b63e6d6d8712c295aba3cfe67.tar.gz
gnu: Add nyan.
* gnu/packages/games.scm (nyan): New variable.
-rw-r--r--gnu/packages/games.scm33
1 files changed, 32 insertions, 1 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 5b316f1997..4d565395ee 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -23,7 +23,7 @@
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016 Steve Webber <webber.sl@gmail.com>
;;; Copyright © 2017 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adfeno@hyperbola.info>
-;;; Copyright © 2017, 2018, 2020 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2017, 2018, 2020, 2021 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017, 2019 nee <nee-git@hidamari.blue>
;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
@@ -12419,3 +12419,34 @@ game FPS.")
implemented using ncurses user interface. An SDL graphical version is also
available.")
(license license:gpl3+)))
+
+(define-public nyan
+ (package
+ (name "nyan")
+ (version "0.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/SFTtech/nyan")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1jx874hmj7102ir4z95np5dgmavnh5dgj5iyz0ga8h4wa82n58dv"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "./nyan/nyancat" "--test-parser"
+ "-f" "../source/test/test.nyan"))))))
+ (native-inputs
+ `(("flex" ,flex)))
+ (home-page "https://github.com/SFTtech/nyan")
+ (synopsis "Data description language for openage")
+ (description "nyan is a data description language. It stores hierarchical
+objects with key-value pairs in a database with the key idea that changes in a
+parent affect all children. The main focus is readability and moddability.")
+ (license license:lgpl3+)))