diff options
author | Z572 <873216071@qq.com> | 2022-01-12 23:27:44 +0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-21 00:11:57 +0100 |
commit | d11fe28c939d4fc090309b1173dd4c4eeaaf298b (patch) | |
tree | 9e093666affa33be92e87a76da4ffa1eac403911 | |
parent | fe03f9325242fb82a15e271d138083b1d893fb0a (diff) | |
download | guix-d11fe28c939d4fc090309b1173dd4c4eeaaf298b.tar.gz guix-d11fe28c939d4fc090309b1173dd4c4eeaaf298b.zip |
gnu: rust-synstructure-0.12: Update to 0.12.6.
* gnu/packages/crates-io.scm (rust-synstructure-0.12): Update to 0.12.6.
[arguments]:<#:cargo-development-inputs>: Add
rust-synstructure-test-traits-0.1.
<#:phases>: add fix-test phase.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 76e7435b3e..a012f2ad8d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -55249,16 +55249,16 @@ a syntax tree of Rust source code.") (define-public rust-synstructure-0.12 (package (name "rust-synstructure") - (version "0.12.3") + (version "0.12.6") (source - (origin - (method url-fetch) - (uri (crate-uri "synstructure" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0igmc5fzpk6fg7kgff914j05lbpc6ai2wmji312v2h8vvjhnwrb7")))) + (origin + (method url-fetch) + (uri (crate-uri "synstructure" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03r1lydbf3japnlpc4wka7y90pmz1i0danaj3f9a7b431akdlszk")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -55266,7 +55266,16 @@ a syntax tree of Rust source code.") (("rust-unicode-xid" ,rust-unicode-xid-0.2) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-syn" ,rust-syn-1) - ("rust-quote" ,rust-quote-1)))) + ("rust-quote" ,rust-quote-1)) + #:cargo-development-inputs + (("rust-synstructure-test-traits" ,rust-synstructure-test-traits-0.1)) + #:phases + (modify-phases %standard-phases + ;; https://github.com/mystor/synstructure/issues/51 + (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 |