[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
45/330: gnu: Add rust-derive-new-0.6.
From: |
guix-commits |
Subject: |
45/330: gnu: Add rust-derive-new-0.6. |
Date: |
Mon, 18 Mar 2024 07:15:06 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit be9c5c2b22a1e7bfd97448fcbb0c9db0311ca059
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 12:26:56 2024 +0200
gnu: Add rust-derive-new-0.6.
* gnu/packages/crates-io.scm (rust-derive-new-0.6): New variable.
(rust-derive-new-0.5): Inherit from rust-derive-new-0.6.
Change-Id: Ie6331d8731b76ff178c944be9fe38d4059b93281
---
gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++-------
1 file changed, 24 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6db338c13..da71a04201 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18777,8 +18777,31 @@ traits for both structs and enums.")
("rust-rustc-version" ,rust-rustc-version-0.2)
("rust-syn" ,rust-syn-0.15))))))
+(define-public rust-derive-new-0.6
+ (package
+ (name "rust-derive-new")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "derive-new" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1b8jv6jx0b8jgkz9kmz0ciqmnf74xkk0mmvkb5z1c87932kdwl6i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/nrc/derive-new")
+ (synopsis "Simple constructor functions for structs and enums")
+ (description "`#[derive(new)]` implements simple constructor functions for
+structs and enums.")
+ (license license:expat)))
+
(define-public rust-derive-new-0.5
(package
+ (inherit rust-derive-new-0.6)
(name "rust-derive-new")
(version "0.5.9")
(source
@@ -18788,17 +18811,11 @@ traits for both structs and enums.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0d9m5kcj1rdmdjqfgj7rxxhdzx0as7p4rp1mjx5j6w5dl2f3461l"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/nrc/derive-new")
- (synopsis "Simple constructor functions for structs and enums")
- (description "`#[derive(new)]` implements simple constructor functions for
-structs and enums.")
- (license license:expat)))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-derive-where-1
(package
- 33/330: gnu: Add rust-miette-derive-5., (continued)
- 33/330: gnu: Add rust-miette-derive-5., guix-commits, 2024/03/18
- 32/330: gnu: Add rust-miette-derive-7., guix-commits, 2024/03/18
- 35/330: gnu: Add rust-miette-5., guix-commits, 2024/03/18
- 37/330: gnu: rust-rustix: Update to 0.38.31., guix-commits, 2024/03/18
- 27/330: gnu: Add rust-supports-color-3., guix-commits, 2024/03/18
- 29/330: gnu: Add rust-supports-unicode-2., guix-commits, 2024/03/18
- 38/330: gnu: rust-wayland-backend-0.3: Update to 0.3.3., guix-commits, 2024/03/18
- 42/330: gnu: rust-wayland-scanner-0.31: Update to 0.31.1., guix-commits, 2024/03/18
- 48/330: gnu: Add rust-libsqlite3-sys-0.28., guix-commits, 2024/03/18
- 39/330: gnu: rust-wayland-client-0.31: Update to 0.31.2., guix-commits, 2024/03/18
- 45/330: gnu: Add rust-derive-new-0.6.,
guix-commits <=
- 47/330: gnu: Add rust-hashlink-0.9., guix-commits, 2024/03/18
- 49/330: gnu: Add rust-litrs-0.4., guix-commits, 2024/03/18
- 50/330: gnu: rust-log-0.4: Update to 0.4.21., guix-commits, 2024/03/18
- 40/330: gnu: rust-wayland-cursor-0.31: Update to 0.31.1., guix-commits, 2024/03/18
- 26/330: gnu: Add rust-supports-hyperlinks-3., guix-commits, 2024/03/18
- 34/330: gnu: Add rust-miette-7., guix-commits, 2024/03/18
- 36/330: gnu: rust-libc: Update to 0.2.153., guix-commits, 2024/03/18
- 43/330: gnu: rust-wayland-server-0.31: Update to 0.31.1., guix-commits, 2024/03/18
- 41/330: gnu: rust-wayland-protocols-0.31: Update to 0.31.2., guix-commits, 2024/03/18
- 44/330: gnu: Add rust-arboard-3., guix-commits, 2024/03/18