From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 67974@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#67974] [PATCH 1/3] gnu: Add rust-synstructure-0.13.
Date: Fri, 22 Dec 2023 17:11:42 -0500 [thread overview]
Message-ID: <eda8153e8bdefb63440da050841bccf6a6effe58.1703281739.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1703281739.git.jaeme@runbox.com>
* gnu/packages/crates-io.scm (rust-synstructure-0.13): New variable.
Change-Id: I3d26757bcd0993c28714325554775c938c185f2b
---
gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++++++++-------
1 file changed, 28 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 54646a4549..01090ec1a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77301,8 +77301,35 @@ (define-public rust-synom-0.11
"Stripped-down Nom parser used by Syn.")
(license (list license:expat license:asl2.0))))
+(define-public rust-synstructure-0.13
+ (package
+ (name "rust-synstructure")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "synstructure" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01jvj55fxgqa69sp1j9mma09p9vj6zwcvyvh8am81b1zfc7ahnr8"))))
+ (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)
+ ("rust-unicode-xid" ,rust-unicode-xid-0.2))
+ #:cargo-development-inputs
+ (("rust-synstructure-test-traits" ,rust-synstructure-test-traits-0.1))))
+ (home-page "https://github.com/mystor/synstructure")
+ (synopsis "Helper methods and macros for custom derives")
+ (description
+ "This package provides helper methods and macros for custom derives.")
+ (license license:expat)))
+
(define-public rust-synstructure-0.12
(package
+ (inherit rust-synstructure-0.13)
(name "rust-synstructure")
(version "0.12.6")
(source
@@ -77314,7 +77341,6 @@ (define-public rust-synstructure-0.12
(sha256
(base32
"03r1lydbf3japnlpc4wka7y90pmz1i0danaj3f9a7b431akdlszk"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -77330,12 +77356,7 @@ (define-public rust-synstructure-0.12
(add-after 'unpack 'fix-test
(lambda _
(substitute* "src/lib.rs"
- (("non_upper_case_globals )") "non_upper_case_globals)")))))))
- (home-page "https://github.com/mystor/synstructure")
- (synopsis "Helper methods and macros for custom derives")
- (description
- "This package provides helper methods and macros for custom derives.")
- (license license:expat)))
+ (("non_upper_case_globals )") "non_upper_case_globals)")))))))))
(define-public rust-synstructure-test-traits-0.1
(package
--
2.41.0
next prev parent reply other threads:[~2023-12-22 22:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-22 21:49 [bug#67974] [PATCH 0/3 rust-team] gnu: Add rust-databake-0.1 Jaeme Sifat via Guix-patches via
2023-12-22 22:11 ` Jaeme Sifat via Guix-patches via [this message]
2023-12-22 22:11 ` [bug#67974] [PATCH 2/3] gnu: Add rust-databake-derive-0.1 Jaeme Sifat via Guix-patches via
2024-01-04 3:51 ` [bug#67974] [PATCH 0/3 rust-team] gnu: Add rust-databake-0.1 Maxim Cournoyer
2023-12-22 22:11 ` [bug#67974] [PATCH 3/3] " Jaeme Sifat via Guix-patches via
2024-01-04 3:55 ` [bug#67974] [PATCH 0/3 rust-team] " Maxim Cournoyer
2024-01-04 5:45 ` [bug#67974] [PATCH v2REVISION 3/3] " Jaeme Sifat via Guix-patches via
2024-01-04 5:51 ` [bug#67974] [PATCH v3REVISION " Jaeme Sifat via Guix-patches via
2024-01-10 4:28 ` [bug#67974] [PATCH 0/3 rust-team] " Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eda8153e8bdefb63440da050841bccf6a6effe58.1703281739.git.jaeme@runbox.com \
--to=guix-patches@gnu.org \
--cc=67974@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=jaeme@runbox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).