diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-14 19:46:28 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:34 +0200 |
commit | ad6f956c6601750b58684db8e4e8d58ef98d969e (patch) | |
tree | f03a6ad76f697d069a68cd8cc45152341ea1ed71 /gnu | |
parent | 3b4f18354eaea491d29784f8d20126d5f05995bb (diff) | |
download | guix-ad6f956c6601750b58684db8e4e8d58ef98d969e.tar guix-ad6f956c6601750b58684db8e4e8d58ef98d969e.tar.gz |
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>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 57bf22b784..e3d93cac17 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6681,6 +6681,35 @@ and Jaro-Winkler.") ("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") |