aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 09:50:03 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:31:08 +0300
commite8a28c89641599f6408eb939a50e3a1dbaced906 (patch)
treeec5ece34d6e1c24d0920e41028453ad0952efd4b /gnu
parent88ce4ef9190a5ceb18b9ed50bbabb3328999a1a5 (diff)
downloadpatches-e8a28c89641599f6408eb939a50e3a1dbaced906.tar
patches-e8a28c89641599f6408eb939a50e3a1dbaced906.tar.gz
gnu: Add rust-quote-1.0.
* gnu/packages/rust-cbindgen.scm (rust-quote-1.0): New hidden variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rust-cbindgen.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index 92364ad485..8471830f8a 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -300,3 +300,22 @@ the platform that libc is compiled for.")
in terms of the upstream unstable API.")
(properties '((hidden? . #t)))
(license (list license:expat license:asl2.0))))
+
+(define rust-quote-1.0
+ (package
+ (name "rust-quote")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "quote" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "1zkc46ryacf2jdkc6krsy2z615xbk1x8kp1830rcxz3irj5qqfh5"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/dtolnay/quote")
+ (synopsis "Quasi-quoting macro quote!(...)")
+ (description "Quasi-quoting macro quote!(...)")
+ (properties '((hidden? . #t)))
+ (license (list license:expat license:asl2.0))))