[bug#75127,rust-team,v3,09/67] gnu: Add rust-swrite-0.1.

Message ID 31a75a008a0a0d104d4772442cbd93d6fcc3e7e5.1735270703.git.lockbox@struct.foo
State New
Headers
Series [bug#75127,rust-team,v3,01/67] gnu: Add cargo-nextest. |

Commit Message

Jordan Moore Dec. 27, 2024, 3:37 a.m. UTC
  * gnu/packages/crates-io.scm (rust-swrite-0.1): New variable.

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8608f584b3..ebb7204cde 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84131,6 +84131,26 @@  (define-public rust-swayipc-types-1
 sway's IPC interface.")
     (license license:expat)))
 
+(define-public rust-swrite-0.1
+  (package
+    (name "rust-swrite")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "swrite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00vsicglylq4qq6dc497jdgzfnxi5mh7padwxijnvh1d1giyqgvz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/rusticstuff/swrite")
+    (synopsis "Infallible alternatives to write! and writeln! for Strings")
+    (description
+     "This package provides Infallible alternatives to write! and writeln! for Strings.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-sxd-document-0.3
   (package
     (name "rust-sxd-document")