mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: Add rust-synstructure-0.13.
* gnu/packages/crates-io.scm (rust-synstructure-0.13): New variable. (rust-synstructure-0.12): Inherit from rust-synstructure-0.13. Change-Id: I7fab0d83a5b1d32c6cba8f1c576e746f6b2e7c10
This commit is contained in:
parent
65031f34e5
commit
a4dc70718c
1 changed files with 26 additions and 7 deletions
|
@ -80574,8 +80574,33 @@ (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.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "synstructure" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0wc9f002ia2zqcbj0q2id5x6n7g1zjqba7qkg2mr0qvvmdk7dby8"))))
|
||||
(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))
|
||||
#: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
|
||||
|
@ -80587,7 +80612,6 @@ (define-public rust-synstructure-0.12
|
|||
(sha256
|
||||
(base32
|
||||
"03r1lydbf3japnlpc4wka7y90pmz1i0danaj3f9a7b431akdlszk"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
|
@ -80603,12 +80627,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
|
||||
|
|
Loading…
Reference in a new issue