Subject: [PATCH 26/49] gnu: Add rust-swc-ecma-transforms-module.

From: Danny Milosavljevic <[email-masked]>
Date: Thu, 22 Apr 2021 12:21:45 +0200

* gnu/packages/crates-io.scm (rust-swc-ecma-transforms-module-0.13): New variable.
---
 gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2eb39b4458..7b393c2cfc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50704,3 +50704,42 @@ configuration file and/or environment variables.")
     (description
       "rust port of babel and closure compiler.")
     (license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-transforms-module-0.13
+  (package
+    (name "rust-swc-ecma-transforms-module")
+    (version "0.13.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "swc_ecma_transforms_module" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0zjzrp0lhh76km8m0qdy6svdrrhwx988pmyv6wnhxw3shc2gqvr0"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-fxhash" ,rust-fxhash-0.2)
+         ("rust-indexmap" ,rust-indexmap-1)
+         ("rust-inflector" ,rust-inflector-0.11)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-swc-atoms" ,rust-swc-atoms-0.2)
+         ("rust-swc-common" ,rust-swc-common-0.10)
+         ("rust-swc-ecma-ast" ,rust-swc-ecma-ast-0.43)
+         ("rust-swc-ecma-parser"
+          ,rust-swc-ecma-parser-0.54)
+         ("rust-swc-ecma-transforms-base"
+          ,rust-swc-ecma-transforms-base-0.12)
+         ("rust-swc-ecma-utils" ,rust-swc-ecma-utils-0.34)
+         ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29))))
+    (home-page
+      "https://github.com/swc-project/swc.git")
+    (synopsis
+      "rust port of babel and closure compiler.")
+    (description
+      "rust port of babel and closure compiler.")
+    (license (list license:asl2.0 license:expat))))
-- 
2.29.2