diff mbox series

[bug#74551,rust-team,v3,42/73] gnu: Add rust-guess-host-triple-0.1.

Message ID 20241203030059.1214554-43-aaron.covrig.us@ieee.org
State New
Headers show
Series Building starship | expand

Commit Message

Aaron Covrig Dec. 3, 2024, 3 a.m. UTC
From: Jordan Moore <lockbox@struct.foo>

* gnu/packages/crates-io.scm (rust-guess-host-triple-0.1): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7bca617532..905ecff639 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32713,6 +32713,33 @@  (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")