diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-14 10:27:41 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:14 +0200 |
commit | f9ff44d36d834f4bcd1a281290512309413077c1 (patch) | |
tree | 2425ea0675c560bfc41886516be9b5cdcdd4defc /gnu/packages | |
parent | 14f2988004f390c22eb49ad776bb02faa196e4a4 (diff) |
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7c6fd8da76..ea3d76eb55 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3188,6 +3188,37 @@ for x86.") (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") |