From 758b618c84fe1c02b765d557d82984605f9d5021 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 4 Dec 2021 14:55:57 +0100 Subject: [PATCH] gnu: Add rust-macrotest-1. * gnu/packages/crates-io.scm (rust-macrotest-1): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d395aa96a2..16cbd8d875 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28676,6 +28676,32 @@ (define-public rust-mach-o-sys-0.1 library") (license (list license:asl2.0 license:expat)))) +(define-public rust-macrotest-1 + (package + (name "rust-macrotest") + (version "1.0.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "macrotest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06xk9i9amh325vr6w9dmnlxfp6zamrq57zfl031zd0fscqm3vjx2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-diff" ,rust-diff-0.1) + ("rust-glob" ,rust-glob-0.3) + ("rust-rand" ,rust-rand-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.5)))) + (home-page "https://github.com/eupn/macrotest") + (synopsis "Test harness for macro expansion") + (description + "This package provides test harness for macro expansion in Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-magic-crypt-3 (package (name "rust-magic-crypt")