diff mbox series

[bug#69803,rust-team,01/37] gnu: Add rust-rename-item-0.1.

Message ID 20240314211638.6190-1-herman@rimm.ee
State New
Headers show
Series [bug#69803,rust-team,01/37] gnu: Add rust-rename-item-0.1. | expand

Commit Message

Herman Rimm March 14, 2024, 9:16 p.m. UTC
* gnu/packages/crates-io.scm (rust-rename-item-0.1): Add variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e99f0f991b..7797660988 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54876,6 +54876,32 @@  (define-public rust-relative-path-1
     (description "This package provides portable, relative paths for Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rename-item-0.1
+  (package
+    (name "rust-rename-item")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rename-item" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18b6jrhfp2x9jpbvi5g4q66nwksr41pgnripi7lbnag554bja2zq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-darling" ,rust-darling-0.20)
+                       ("rust-heck" ,rust-heck-0.4)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://github.com/levitatinglion/rename-item/")
+    (synopsis
+     "Rename items on declaration in different case styles")
+    (description
+     "This package provides a procedural macro to rename items on declaration,
+     according to different case styles.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rend-0.3
   (package
     (name "rust-rend")