gnu: Add rust-proc-macro-hack-0.5.

* gnu/packages/crates-io.scm (rust-proc-macro-hack-0.5): New variable.

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

View file

@ -3188,6 +3188,37 @@ (define-public rust-ppv-lite86-0.2
(license (list license:asl2.0
license:expat))))
;; Cyclic dependencies with rust-demo-hack.
(define-public rust-proc-macro-hack-0.5
(package
(name "rust-proc-macro-hack")
(version "0.5.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "proc-macro-hack" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1www5lrvsk7pq04clgfmjlnnrshikgs1h51l17vrc7qy58bx878c"))))
(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))
#:cargo-development-inputs
(("rust-demo-hack" ,rust-demo-hack-0.0)
("rust-demo-hack-impl" ,rust-demo-hack-impl-0.0))))
(home-page "https://github.com/dtolnay/proc-macro-hack")
(synopsis
"Procedural macros in expression position")
(description
"Procedural macros in expression position.")
(license (list license:expat license:asl2.0))))
(define-public rust-proc-macro2-1.0
(package
(name "rust-proc-macro2")