Subject: [PATCH rust-team 37/37] gnu: Add rust-gilrs-0.10.

From: Herman Rimm <[email-masked]>
Date: Thu, 14 Mar 2024 22:16:38 +0100

* gnu/packages/crates-io.scm (rust-gilrs-0.10): Add variable.

Change-Id: I607eb1e06aaad5e73872a7104d2c0f75894d0173
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 930b61a4a8..0351c06f15 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27208,6 +27208,31 @@ (define-public rust-ghost-0.1
     ;; Either license can be chosen at the users option.
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gilrs-0.10
+  (package
+    (name "rust-gilrs")
+    (version "0.10.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gilrs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ywjjl8nvvhzbgym1jf4hagmmfsaamgqqqz89b8baimrkixfbcnq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-fnv" ,rust-fnv-1)
+                       ("rust-gilrs-core" ,rust-gilrs-core-0.5)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-uuid" ,rust-uuid-1)
+                       ("rust-vec-map" ,rust-vec-map-0.8))))
+    (home-page "https://gitlab.com/gilrs-project/gilrs")
+    (synopsis "Game Input Library for Rust")
+    (description "This package provides a game input library for rust.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-gilrs-core-0.5
   (package
     (name "rust-gilrs-core")
-- 
2.41.0