guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#69257] [PATCH 199/228] gnu: Add rust-fancy-constructor-1.


From: Herman Rimm
Subject: [bug#69257] [PATCH 199/228] gnu: Add rust-fancy-constructor-1.
Date: Sun, 18 Feb 2024 22:09:29 +0100

* gnu/packages/crates-io.scm (rust-fancy-constructor-1): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0478093ae4..c1b12bea19 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23142,6 +23142,30 @@ (define-public rust-fallible-streaming-iterator-0.1
     (description "Fallible streaming iteration")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-fancy-constructor-1
+  (package
+    (name "rust-fancy-constructor")
+    (version "1.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fancy_constructor" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0dcllqf8hj7yn8fxyi91kn3v3i7aa861kb4gc27jyfzp99z327zp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-macroific" ,rust-macroific-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://github.com/Alorel/fancy_constructor-rs.git";)
+    (synopsis "Derive a highly configurable constructor for your struct")
+    (description
+      "This package lets you derive a highly configurable constructor for
+your struct.")
+    (license license:asl2.0)))
+
 (define-public rust-fancy-regex-0.11
   (package
     (name "rust-fancy-regex")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]