From b62f74a656424a251c808561948b23f76773b9f7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 23 Oct 2019 10:04:56 +0300 Subject: gnu: Add rust-syn-1.0. * gnu/packages/rust-cbindgen.scm (rust-syn-1.0): New hidden variable. --- gnu/packages/rust-cbindgen.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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)))) -- cgit v1.2.3