diff mbox series

[bug#58932] V2: Use modify-inputs

Message ID 2a7d83eff7537f883a166e5bcec53fc372e583eb.camel@planete-kraus.eu
State New
Headers show
Series [bug#58932] V2: Use modify-inputs | expand

Commit Message

Vivien Kraus Nov. 1, 2022, 12:01 p.m. UTC
Dear guix,

I was told I could use modify-inputs to add an input to irrlicht-for-
minetest. For convenience, here are all 4 commits again, even if only
the first is changed.

Best regards,

Vivien
diff mbox series

Patch

From ed546e02a5d12998d6167d714979edffc8efc82b Mon Sep 17 00:00:00 2001
From: Vivien Kraus <vivien@planete-kraus.eu>
Date: Mon, 31 Oct 2022 22:42:38 +0100
Subject: [PATCH v2 1/4] gnu: irrlicht-for-minetest: update to 1.9.0.mt8

* gnu/packages/games.scm (irrlicht-for-minetest): Update to 1.9.0.mt8.
[inputs]: Add libxi (xinput).
---
 gnu/packages/games.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 8ed4067deb..807dde8617 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3658,7 +3658,7 @@  (define-public irrlicht-for-minetest
   (package
     (inherit irrlicht)
     (name "irrlicht-for-minetest")
-    (version "1.9.0mt5")
+    (version "1.9.0mt8")
     (source
      (origin
        (method git-fetch)
@@ -3667,11 +3667,14 @@  (define-public irrlicht-for-minetest
              (commit version)))
        (sha256
         (base32
-         "1jxk1x0f60n8lrz8a6x62aj2pqg0qnbajsld3lqncvwsfbi0xjx1"))))
+         "1646pj40dqkzbbc2lxzbmq2pjyrkgggbi2lah6pa5mv420p402kg"))))
     (build-system cmake-build-system)
     (arguments
      ;; No check target.
-     (list #:tests? #f))))
+     (list #:tests? #f))
+    (inputs
+     (modify-inputs (package-inputs irrlicht)
+       (append libxi)))))
 
 (define-public mars
   ;; The latest release on SourceForge relies on an unreleased version of SFML

base-commit: f151a729bf7b51750fbcd55fb7945282cddbf7c5
-- 
2.38.0