Subject: [PATCH v1 09/19] gnu: Add rust-swaybar-types-3

From: Luca Matei Pintilie <[email-masked]>
Date: Sat, 19 Oct 2024 16:49:25 +0200

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9e7432d72..1df56f7ed3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78270,6 +78270,27 @@ (define-public rust-sxd-xpath-0.4
     (description "This package provides a Rust XML XPath library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-swaybar-types-3
+  (package
+    (name "rust-swaybar-types")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "swaybar-types" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0hz1ialgs4l0ki5s9gqhsdlfy0v3fph7mkw2z1rdi29bjlsv9h52"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/jaycefayne/swaybar-types")
+    (synopsis "Library for building swaybar status commands in rust")
+    (description
+     "This package provides a library for building swaybar status commands in rust.")
+    (license license:expat)))
+
 (define-public rust-swayipc-3
   (package
     (name "rust-swayipc")
-- 
2.47.0