diff mbox series

[bug#47948,41/49] gnu: Add rust-swc-ecma-ast.

Message ID 20210422102208.1154-41-dannym@scratchpost.org
State New
Headers show
Series [bug#47948,01/49] gnu: rust-byteorder: Update to 1.4.3. | expand

Commit Message

Danny Milosavljevic April 22, 2021, 10:22 a.m. UTC
* gnu/packages/crates-io.scm (rust-swc-ecma-ast-0.43): New variable.
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d9e3c51ca5..425457fb67 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51213,3 +51213,34 @@  configuration file and/or environment variables.")
     (synopsis "String based enum.")
     (description "String based enum.")
     (license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-ast-0.43
+  (package
+    (name "rust-swc-ecma-ast")
+    (version "0.43.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "swc_ecma_ast" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "07pqinjyhaly9nbx97xf5j1j82vwi5wivhjvks8ym8c7lfwb0644"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-arbitrary" ,rust-arbitrary-0.4)
+         ("rust-is-macro" ,rust-is-macro-0.1)
+         ("rust-num-bigint" ,rust-num-bigint-0.2)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-string-enum" ,rust-string-enum-0.3)
+         ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+         ("rust-swc-common" ,rust-swc-common-0.10))))
+    (home-page
+      "https://github.com/swc-project/swc.git")
+    (synopsis "Ecmascript ast.")
+    (description "Ecmascript ast.")
+    (license (list license:asl2.0 license:expat))))