aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-05 21:07:24 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-06 15:46:04 +0300
commit41ba4cf1503cc7448aa99813438cc5bdf2c00c1c (patch)
tree602616f6f5574cfe6053d8a5be77d3f6b3791bc5 /gnu/packages
parent540d830edc910dd85c0d84f922a4d26848c1b35e (diff)
downloadpatches-41ba4cf1503cc7448aa99813438cc5bdf2c00c1c.tar
patches-41ba4cf1503cc7448aa99813438cc5bdf2c00c1c.tar.gz
gnu: Add rust-parity-wasm.
* gnu/packages/crates-io.scm (rust-parity-wasm): New variable.
Diffstat (limited to 'gnu/packages')
-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 ab3513af67..980ddc5d9e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1968,6 +1968,31 @@ owner with them. This can sometimes be useful because Rust borrowing rules
normally prevent moving a type that has been borrowed from.")
(license license:expat)))
+(define-public rust-parity-wasm
+ (package
+ (name "rust-parity-wasm")
+ (version "0.40.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "parity-wasm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1p84f0k36q05j18jy66n122lyali794cj78hbxgy9wj6si84plqd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-time" ,rust-time))
+ #:tests? #f)) ; Test files are not included in release.
+ (home-page "https://github.com/paritytech/parity-wasm")
+ (synopsis "Low-level WebAssembly format library")
+ (description
+ "This package provides a WebAssembly binary format serialization,
+deserialization, and interpreter in Rust.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-peeking-take-while
(package
(name "rust-peeking-take-while")