summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-02-09 14:31:20 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-02-09 16:08:55 +0200
commit03455f9c0e09e442df9952cff0732f4eb2520213 (patch)
treec7af51c337435795ac52769dea2d295cc51fb942
parente0d529bacc620a3447998e54141fcc5546b282c9 (diff)
downloadpatches-03455f9c0e09e442df9952cff0732f4eb2520213.tar
patches-03455f9c0e09e442df9952cff0732f4eb2520213.tar.gz
gnu: Add rust-custom-derive-0.1.
* gnu/packages/crates-io.scm (rust-custom-derive-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 33bff568e6..1b4756f415 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2450,6 +2450,31 @@ intrinsics.")
(properties '((hidden? . #t)))
(license license:expat)))
+(define-public rust-custom-derive-0.1
+ (package
+ (name "rust-custom-derive")
+ (version "0.1.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "custom_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1f81bavw1wnykwh21hh4yyzigs6zl6f6pkk9p3car8kq95yfb2pg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-development-inputs
+ (("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))
+ (home-page
+ "https://github.com/DanielKeep/rust-custom-derive/tree/custom_derive-master")
+ (synopsis "Custom derivation macro for Rust")
+ (description
+ "This crate provides a macro that enables the use of custom @code{derive}
+attributes.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-data-encoding-2.1
(package
(name "rust-data-encoding")