Subject: [bug#74551] [PATCH 17/49] gnu: Add rust-guess-host-triple-0.1.

From: Jordan Moore <[email-masked]>
Date: Tue, 26 Nov 2024 16:38:52 -0500

* gnu/packages/crates-io.scm (rust-guess-host-triple-0.1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 734f74e9fa..b9d1b4faed 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32588,6 +32588,32 @@ (define-public rust-gumdrop-derive-0.8
     (description "This package provides custom derive support for gumdrop.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-guess-host-triple-0.1
+  (package
+    (name "rust-guess-host-triple")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "guess_host_triple" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "062fs1jkg157240cdn6dw11zm1c02llm9kp95knq6b4s6iijgmjx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-errno" ,rust-errno-0.2)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.5)
+                                   ("rust-version-sync" ,rust-version-sync-0.9))))
+    (home-page "https://gitlab.com/Screwtapello/guess_host_triple/")
+    (synopsis
+     "Guess which Rust-supported platform is running the current code")
+    (description
+     "This package provides Guess which Rust-supported platform is running the current code.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gzip-header-1
   (package
     (name "rust-gzip-header")
-- 
2.46.0