aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-28 15:17:30 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:53:02 +0300
commit7b20853a1e01876ce8f7e2a35fb269a1701e0095 (patch)
treea16b1fdc7c32df8f2ccd482f0a26e1fa006de145
parent0c944af88394b98cad64a3bfef225282fbde7105 (diff)
downloadpatches-7b20853a1e01876ce8f7e2a35fb269a1701e0095.tar
patches-7b20853a1e01876ce8f7e2a35fb269a1701e0095.tar.gz
gnu: Add rust-wasm-bindgen-test-macro.
* gnu/packages/crates-io.scm (rust-wasm-bindgen-test-macro): New variable.
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6ca7cf23bf..dcf7a501ac 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1056,6 +1056,30 @@ in Rust.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-wasm-bindgen-test-macro
+ (package
+ (name "rust-wasm-bindgen-test-macro")
+ (version "0.2.48")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasm-bindgen-test-macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0n28mr6vncf1k1qr2b5bvfxq4jvqkjdzq0z0ab6w2f5d6v8q3q3l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2)
+ ("rust-quote" ,rust-quote))))
+ (home-page "https://github.com/rustwasm/wasm-bindgen")
+ (synopsis "Internal testing macro for wasm-bindgen")
+ (description
+ "This library contains the internal testing macro for wasm-bindgen.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-winapi
(package
(name "rust-winapi")