gnu: Add rust-synstructure-0.10.

* gnu/packages/crates-io.scm (rust-synstructure-0.10): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
John Soo 2019-12-14 19:46:28 -08:00 committed by Efraim Flashner
parent 3b4f18354e
commit ad6f956c66
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6681,6 +6681,35 @@ (define-public rust-syn-0.15
("rust-walkdir" ,rust-walkdir-2.2))))
(properties '())))
(define-public rust-synstructure-0.10
(package
(name "rust-synstructure")
(version "0.10.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "synstructure" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0grirdkgh2wl4hf9a3nbiazpgccxgq54kn52ms0xrr6njvgkwd82"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-0.4)
("rust-quote" ,rust-quote-1.0)
("rust-syn" ,rust-syn-0.15)
("rust-unicode-xid" ,rust-unicode-xid-0.1))
#: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
"Helper methods and macros for custom derives.")
(license license:expat)))
(define-public rust-synstructure-test-traits-0.1
(package
(name "rust-synstructure-test-traits")