summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>2022-09-18 13:29:11 +0200
committerGuix Patches Tester <>2022-09-18 12:32:32 +0100
commit89e0eeb1b61ce2768457f76d254b5d96a14f2428 (patch)
tree144982c4eb684301b2d037ea0a7739114dab7433
parent12fcd3d187631f4a2f6332c44eda6742fb5209e9 (diff)
downloadguix-patches-89e0eeb1b61ce2768457f76d254b5d96a14f2428.tar
guix-patches-89e0eeb1b61ce2768457f76d254b5d96a14f2428.tar.gz
gnu: Add minetest-exile.
* gnu/packages/minetest.scm: (minetest-exile): new variable.
-rw-r--r--gnu/packages/minetest.scm43
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/minetest.scm b/gnu/packages/minetest.scm
index fe1c098095..f362025f00 100644
--- a/gnu/packages/minetest.scm
+++ b/gnu/packages/minetest.scm
@@ -772,3 +772,46 @@ advtrains up to version 2.2.1.")
ground nodes (sand, dirt, gravel...) that may change shape automatically
according to their surroundings.")
(license (list license:lgpl2.1+ license:cc0)))) ;; cc0 for models
+
+(define-public minetest-exile
+ (package
+ (name "minetest-exile")
+ (version "0.3.8d")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jeremyshannon/Exile/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (modules '((guix build utils)))
+ ;; remove bundled dependencies and tools
+ (snippet #~(begin
+ (delete-file-recursively "mods/naturalslopeslib")
+ (delete-file-recursively "utilities")))
+ (sha256
+ (base32
+ "1h7792kznhcqrvxn127318dx1v4xbwvffxw7vav22fd85c839c5g"))))
+ (build-system copy-build-system)
+ (arguments
+ (list #:install-plan #~'(("." "share/minetest/games/exile"))
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'install 'install-dependencies
+ (lambda* (#:key inputs #:allow-other-keys)
+ (symlink (search-input-directory inputs
+ "/share/minetest/mods/naturalslopeslib")
+ (string-append #$output
+ "/share/minetest/games/exile/"
+ "mods/naturalslopeslib")))))))
+ (inputs (list minetest-naturalslopeslib))
+ (synopsis "A survival game for Minetest")
+ (description
+ "Exile is a wilderness survival game with simple technology using
+the Minetest game engine.")
+ (home-page "https://exile.planetofnix.com/wiki/pmwiki.php?n=Main.HomePage")
+ ;; also see https://content.minetest.net/packages/Mantar/exile/
+ (license (list license:gpl3
+ ;; artwork under cc licenses, see corresponding mod directories
+ license:cc0
+ license:cc-by3.0
+ license:cc-by-sa3.0
+ license:cc-by-sa4.0))))