Subject: [bug#71278] [PATCH 09/44] gnu: Add rust-yuck-0.1.

From: Murilo <[email-masked]>
Date: Thu, 30 May 2024 12:17:36 -0300

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c5c59776ec..a9fb2cb476 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -90657,6 +90657,45 @@ (define-public rust-yeslogic-fontconfig-sys-2
        (("rust-const-cstr" ,rust-const-cstr-0.3)
         ("rust-pkg-config" ,rust-pkg-config-0.3))))))
 
+(define-public rust-yuck-0.1
+  (package
+    (name "rust-yuck")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "yuck" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1yir3ikiaqxknwzb1g2xpqqgif7bfvrfp8lwj96lb8kmyhssgkf7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-strum" ,rust-strum-0.26)
+                       ("rust-static-assertions" ,rust-static-assertions-1)
+                       ("rust-smart-default" ,rust-smart-default-0.7)
+                       ("rust-simplexpr" ,rust-simplexpr-0.1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-maplit" ,rust-maplit-1)
+                       ("rust-lalrpop-util" ,rust-lalrpop-util-0.20)
+                       ("rust-lalrpop" ,rust-lalrpop-0.20)
+                       ("rust-itertools" ,rust-itertools-0.12)
+                       ("rust-insta" ,rust-insta-1)
+                       ("rust-eww-shared-util" ,rust-eww-shared-util-0.1)
+                       ("rust-derive-more" ,rust-derive-more-0.99)
+                       ("rust-codespan-reporting" ,rust-codespan-reporting-0.11)
+                       ("rust-anyhow" ,rust-anyhow-1))))
+    (home-page "https://github.com/elkowar/eww")
+    (synopsis "Implementation of the yuck language used by eww")
+    (description
+     "Implementation of the yuck language, the declarative UI description language
+used by eww")
+    (license license:expat)))
+
 (define-public rust-z-base-32-0.1
   (package
     (name "rust-z-base-32")
-- 
2.41.0