From 791ad5843d8175d569132697aff264c633d2b112 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Sun, 5 Sep 2021 15:21:35 +0200 Subject: [PATCH 3/3] gnu: add minetest-advtrains * gnu/packages/minetest.scm (minetest-advtrains): New variable. * gnu/packages/minetest.scm (minetest-basic-trains): New variable. --- gnu/packages/minetest.scm | 68 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/gnu/packages/minetest.scm b/gnu/packages/minetest.scm index 9e48d5c69c..ad0b70195d 100644 --- a/gnu/packages/minetest.scm +++ b/gnu/packages/minetest.scm @@ -624,3 +624,71 @@ track of important locations.") license:cc-by4.0 license:cc-by-sa3.0 license:public-domain license:cc0 license:fdl1.2+)) (properties `((upstream-name . "RealBadAngel/unified_inventory"))))) + +(define-public minetest-advtrains + (package + (name "minetest-advtrains") + (version "2.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.bananach.space/advtrains.git") + (commit "release-2.3.1"))) + (sha256 + (base32 "1ijqlchh269jpvmgmdmdvy3nsnk0bszkvvcqk6vaysvxam695ggw")) + (file-name (git-file-name name version)))) + (build-system minetest-mod-build-system) + (home-page "http://advtrains.de/") + (synopsis + "Adds good-looking, realistic trains with realistic rails.") + (description + "This mod features realistic trains and various equipment for railways, with a focus on automated train operation. + +Main features: + +@itemize +@item +almost-realistic tracks with actual curves and switches; +@item +railway signals, controllable by various means; +@item +ATC: simple, command-like automatic train control; +@item +LuaATC: Powerful Lua-scripted automatic train operation (requires some programming knowledge); +@item +an interlocking system, featuring track sections, routes and automatic stopping before signals. +@end itemize") + (license + (list license:cc-by-sa3.0 license:agpl3+)) + (properties + `((upstream-name . "orwell/advtrains"))))) + +(define-public minetest-basic-trains + (package + (name "minetest-basic-trains") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "http://git.bananach.space/basic_trains.git/") + (commit + "d44c410f7c2a7202ee68b66fc50febae89e0c5dc"))) + (sha256 + (base32 + "0vvzndj48kgdz2bfgivfm217sbmc2lmxpp2mispcy7byn4i26prx")) + (file-name (git-file-name name version)))) + (build-system minetest-mod-build-system) + (propagated-inputs + `(("minetest-advtrains" ,minetest-advtrains))) + (home-page + "http://advtrains.de/wiki/doku.php?id=usage:trains:basic_trains") + (synopsis + "Collection of basic trains for the Advanced Trains mod. Formerly included in main advtrains modpack (until 2.3.0)") + (description + "This modpack contains the trains which were the \"default\" trains in advtrains up to version 2.2.1.") + (license + (list license:cc-by-sa3.0 license:agpl3+)) + (properties + `((upstream-name . "orwell/basic_trains"))))) -- 2.33.0