[bug#75677,rust-team,v2,66/81] gnu: rust-fluent-uri-0.3: New variable.

Message ID 20250308033446.2101481-67-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted package updates for rust-team |

Commit Message

Aaron Covrig March 8, 2025, 3:34 a.m. UTC
  * gnu/packages/crates-io.scm (rust-fluent-uri-0.3): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 05fc03bcf7..b9b12de4ef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27493,6 +27493,29 @@  (define-public rust-float-ord-0.2
      "This package provides a total ordering for floating-point numbers.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-fluent-uri-0.3
+  (package
+    (name "rust-fluent-uri")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fluent-uri" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1rgp9mv03bifxysy863kf38aagvyl76ca6gd3dcx6iyzjrfvc60r"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-borrow-or-share" ,rust-borrow-or-share-0.2)
+        ("rust-ref-cast" ,rust-ref-cast-1)
+        ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/yescallop/fluent-uri-rs")
+    (synopsis "Generic URI/IRI handling library compliant with RFC 3986/3987")
+    (description "A generic URI/IRI handling library compliant with RFC 3986/3987.")
+    (license license:expat)))
+
 (define-public rust-fluid-0.4
   (package
     (name "rust-fluid")