gnu: Add rust-syn-1.0.

* gnu/packages/rust-cbindgen.scm (rust-syn-1.0): New hidden variable.
This commit is contained in:
Efraim Flashner 2019-10-23 10:04:56 +03:00
parent 10eeb2362c
commit b62f74a656
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -711,3 +711,22 @@ (define rust-strsim-0.8
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))))