[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
297/371: gnu: Add rust-smart-default-0.7.
From: |
guix-commits |
Subject: |
297/371: gnu: Add rust-smart-default-0.7. |
Date: |
Thu, 25 May 2023 10:48:49 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 2aa395aebefbd6b2c3f62630cf821514ff11ba88
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 17:11:33 2023 +0300
gnu: Add rust-smart-default-0.7.
* gnu/packages/crates-io.scm (rust-smart-default-0.7): New variable.
((rust-smart-default-0.6): Inherit from rust-smart-default-0.7.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
1 file changed, 26 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8c05d131a2..82febb55cd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59311,8 +59311,33 @@ stack.")
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1))))))
+(define-public rust-smart-default-0.7
+ (package
+ (name "rust-smart-default")
+ (version "0.7.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "smart-default" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hgzs1250559bpayxmn46gzas5ycqn39wkf4srjgqh4461k1ic0f"))))
+ (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/idanarye/rust-smart-default")
+ (synopsis "Custom-derive macro for Default with more control on the
fields")
+ (description
+ "This package provides a custom-derive macro for Default with more
+control on the fields.")
+ (license license:expat)))
+
(define-public rust-smart-default-0.6
(package
+ (inherit rust-smart-default-0.7)
(name "rust-smart-default")
(version "0.6.0")
(source
@@ -59322,19 +59347,12 @@ stack.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1xnvxz9wilj4d5b8kg4wbs0yk48wm41fnwkmn3p6wi9rafhmjdhk"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/idanarye/rust-smart-default")
- (synopsis "Custom-derive macro for Default with more control on the
fields")
- (description
- "This package provides a custom-derive macro for Default with more
-control on the fields.")
- (license license:expat)))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-smartstring-1
(package
- 270/371: gnu: Add rust-hashbrown-0.13., (continued)
- 270/371: gnu: Add rust-hashbrown-0.13., guix-commits, 2023/05/25
- 273/371: gnu: Add rust-html5ever-0.26., guix-commits, 2023/05/25
- 271/371: gnu: Add rust-hashlink-0.8., guix-commits, 2023/05/25
- 280/371: gnu: Add rust-num-bigint-dig-0.8., guix-commits, 2023/05/25
- 281/371: gnu: Add rust-object-0.30., guix-commits, 2023/05/25
- 284/371: gnu: rust-pest-derive-2: Update to 2.6.0., guix-commits, 2023/05/25
- 283/371: gnu: rust-pest-2: Update to 2.6.0., guix-commits, 2023/05/25
- 282/371: gnu: rust-os-str-bytes-6: Update to 6.5.0., guix-commits, 2023/05/25
- 286/371: gnu: rust-pest-meta-2: Update to 2.6.0., guix-commits, 2023/05/25
- 294/371: gnu: rust-rustversion-1: Update to 1.0.12., guix-commits, 2023/05/25
- 297/371: gnu: Add rust-smart-default-0.7.,
guix-commits <=
- 299/371: gnu: rust-snapbox-0.4: Update to 0.4.11., guix-commits, 2023/05/25
- 300/371: gnu: Add rust-state-0.5., guix-commits, 2023/05/25
- 301/371: gnu: Add rust-subplotlib-derive-0.7., guix-commits, 2023/05/25
- 307/371: gnu: rust-uniquote-3: Update to 3.3.0., guix-commits, 2023/05/25
- 306/371: gnu: rust-trycmd-0.14: Update to 0.14.16., guix-commits, 2023/05/25
- 312/371: gnu: Add rust-sequoia-policy-config-0.6., guix-commits, 2023/05/25
- 315/371: gnu: Add rust-sequoia-autocrypt-0.25., guix-commits, 2023/05/25
- 316/371: gnu: rust-sequoia-openpgp-1: Update to 1.16.0., guix-commits, 2023/05/25
- 324/371: gnu: Add rust-win-crypto-ng-0.5., guix-commits, 2023/05/25
- 327/371: gnu: Add rust-twofish-0.7., guix-commits, 2023/05/25