mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-14 19:05:10 -05:00
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:
parent
14f2988004
commit
f9ff44d36d
1 changed files with 31 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue