diff mbox series

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

Message ID 20210422102208.1154-32-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:21 a.m. UTC
* gnu/packages/crates-io.scm (rust-swc-ecma-transforms-0.45): New variable.
---
 gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 448883bde8..53d6e33453 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50915,3 +50915,51 @@  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-0.45
+  (package
+    (name "rust-swc-ecma-transforms")
+    (version "0.45.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "swc_ecma_transforms" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1ylhbnzg3sfbah0v67ghyp4b1x0lqq9hr16ivy2b10v5iic5xa7f"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("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-transforms-compat"
+          ,rust-swc-ecma-transforms-compat-0.13)
+         ("rust-swc-ecma-transforms-module"
+          ,rust-swc-ecma-transforms-module-0.13)
+         ("rust-swc-ecma-transforms-optimization"
+          ,rust-swc-ecma-transforms-optimization-0.15)
+         ("rust-swc-ecma-transforms-proposal"
+          ,rust-swc-ecma-transforms-proposal-0.13)
+         ("rust-swc-ecma-transforms-react"
+          ,rust-swc-ecma-transforms-react-0.14)
+         ("rust-swc-ecma-transforms-typescript"
+          ,rust-swc-ecma-transforms-typescript-0.14)
+         ("rust-swc-ecma-utils" ,rust-swc-ecma-utils-0.34)
+         ("rust-swc-ecma-visit" ,rust-swc-ecma-visit-0.29)
+         ("rust-unicode-xid" ,rust-unicode-xid-0.2))))
+    (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))))