diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-10-23 10:04:56 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-10-23 10:44:00 +0300 |
commit | b62f74a656424a251c808561948b23f76773b9f7 (patch) | |
tree | ae376fca7d9bd8fd02f5c0a38d0a49ae075d00d5 /gnu/packages/rust-cbindgen.scm | |
parent | 10eeb2362c1e84aac53b79d6bcd19e156d7d2b5d (diff) | |
download | patches-b62f74a656424a251c808561948b23f76773b9f7.tar patches-b62f74a656424a251c808561948b23f76773b9f7.tar.gz |
gnu: Add rust-syn-1.0.
* gnu/packages/rust-cbindgen.scm (rust-syn-1.0): New hidden variable.
Diffstat (limited to 'gnu/packages/rust-cbindgen.scm')
-rw-r--r-- | gnu/packages/rust-cbindgen.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm index 3f76eaa9a6..7c93e401e7 100644 --- a/gnu/packages/rust-cbindgen.scm +++ b/gnu/packages/rust-cbindgen.scm @@ -711,3 +711,22 @@ metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro, and Jaro-Winkler.") (properties '((hidden? . #t))) (license license:expat))) + +(define rust-syn-1.0 + (package + (name "rust-syn") + (version "1.0.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "syn" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "1gw03w7lzrlqmp2vislcybikgl5wkhrqi6sy70w93xss2abhx1b6")))) + (build-system cargo-build-system) + (home-page "https://github.com/dtolnay/syn") + (synopsis "Parser for Rust source code") + (description "Parser for Rust source code") + (properties '((hidden? . #t))) + (license (list license:expat license:asl2.0)))) |