aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-02-02 01:07:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-27 20:59:45 +0200
commit11b8038d6f00289685823c51fe63bcaa190dacd7 (patch)
tree7a9623cdcb117af27b660b9ff63ab415d0445b7d /gnu
parentc4f37fc1e0671589cb610e6296a524eeb8dd0dcf (diff)
downloadpatches-11b8038d6f00289685823c51fe63bcaa190dacd7.tar
patches-11b8038d6f00289685823c51fe63bcaa190dacd7.tar.gz
gnu: Add rust-wasm-bindgen-webidl-0.2.
* gnu/packages/crates-io.scm (rust-wasm-bindgen-webidl-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4d10562c2f..ca68074998 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19470,6 +19470,37 @@ attribute that is not in the shared backend crate.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-wasm-bindgen-webidl-0.2
+ (package
+ (name "rust-wasm-bindgen-webidl")
+ (version "0.2.58")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasm-bindgen-webidl" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0pcpaw8w3xgfrg9y24ljrsl2bkidgdaaz3ka2bgk417wjc6jl0gg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1.0)
+ ("rust-heck" ,rust-heck-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-proc-macro2" ,rust-proc-macro2-1.0)
+ ("rust-quote" ,rust-quote-1.0)
+ ("rust-syn" ,rust-syn-1.0)
+ ("rust-wasm-bindgen-backend" ,rust-wasm-bindgen-backend-0.2)
+ ("rust-weedle" ,rust-weedle-0.10))))
+ (home-page "https://rustwasm.github.io/wasm-bindgen/")
+ (synopsis "Support for parsing WebIDL specific to wasm-bindgen")
+ (description
+ "Support for parsing WebIDL specific to wasm-bindgen.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-weedle-0.10
(package
(name "rust-weedle")