[bug#77382,rust-team,15/18] gnu: Add rust-upon-0.8.

Message ID 057e676702894f20c54b68501b907e1e296d1f0b.1743337577.git.gabrielsantosdesouza@disroot.org
State New
Headers
Series gnu: Add matugen. |

Commit Message

Gabriel Santos March 30, 2025, 12:26 p.m. UTC
  * gnu/packages/crates-io.scm (rust-upon-0.8): New variable.

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dd1eaaf575..f9b2fa0ef7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -91994,6 +91994,30 @@  (define-public rust-uom-0.30
         ("rust-serde-json" ,rust-serde-json-1)
         ("rust-static-assertions" ,rust-static-assertions-1))))))
 
+(define-public rust-upon-0.8
+  (package
+    (name "rust-upon")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "upon" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1h0ky0lvilja2bw3337w3jyxhgajbwdafpm3m57i0kv2s40rdqlz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1)
+                       ("rust-unicode-ident" ,rust-unicode-ident-1)
+                       ("rust-unicode-width" ,rust-unicode-width-0.1))))
+    (home-page "https://github.com/rossmacarthur/upon")
+    (synopsis
+     "Template engine")
+    (description
+     "This package provides a simple, template engine with minimal
+dependencies and configurable delimiters.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-ureq-2
   (package
     (name "rust-ureq")