summaryrefslogtreecommitdiff
path: root/gnu/packages/minetest.scm
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-08-10 17:07:29 +0200
committerLeo Prikler <leo.prikler@student.tugraz.at>2021-08-20 12:41:56 +0200
commit41f5f99b12179a0823f21b4394df2a183c5ca441 (patch)
tree6015470fcfc9c3fa2a62f55e66656eb52d379110 /gnu/packages/minetest.scm
parent01c697329660ffce118724cfc44c02fa0177b7d3 (diff)
gnu: Add minetest-throwing-arrows.
* gnu/packages/minetest.scm (minetest-throwing-arrows): New variable. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
Diffstat (limited to 'gnu/packages/minetest.scm')
-rw-r--r--gnu/packages/minetest.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/minetest.scm b/gnu/packages/minetest.scm
index 4566d94489..1f785098f9 100644
--- a/gnu/packages/minetest.scm
+++ b/gnu/packages/minetest.scm
@@ -236,6 +236,36 @@ arrow and bow, but @code{minetest-throwing-arrows} does.")
(license license:mpl2.0)
(properties `((upstream-name . "Palige/throwing"))))))
+(define-public minetest-throwing-arrows
+ ;; There is only one tagged commit (version 1.1),
+ ;; there are no releases on ContentDB and the latest
+ ;; commit has a compatibility fix for Minetest 5.4.0-dev.
+ (let ((commit "059cc897af0aebfbd2c54ac5588f2b842f44f159")
+ (revision "0"))
+ (package
+ (name "minetest-throwing-arrows")
+ (version (git-version "1.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/minetest-mods/throwing_arrows")
+ (commit commit)))
+ (sha256
+ (base32 "0m2pmccpfxn878zd00pmrpga2h6gknz4f3qprck0fq94mksmwqs3"))
+ (file-name (git-file-name name version))))
+ (build-system minetest-mod-build-system)
+ (propagated-inputs
+ `(("minetest-throwing" ,minetest-throwing)))
+ (home-page (minetest-topic 16365))
+ (synopsis "Arrows and bows for Minetest")
+ (description
+ ;; TRANSLATORS: "throwing" is the name of a Minetest mod and should
+ ;; not be translated.
+ "This mod adds arrows and bows to Minetest. It is a compatible
+replacement for the throwing mod by PilzAdam that uses the throwing API.")
+ (license license:mpl2.0))))
+
(define-public minetest-unifieddyes
(package
(name "minetest-unifieddyes")