guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#47948] [PATCH 38/49] gnu: Add rust-swc-ecma-codegen.


From: Danny Milosavljevic
Subject: [bug#47948] [PATCH 38/49] gnu: Add rust-swc-ecma-codegen.
Date: Thu, 22 Apr 2021 12:21:57 +0200

* gnu/packages/crates-io.scm (rust-swc-ecma-codegen-0.52): New variable.
---
 gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e6ddd78bc9..69605cbd07 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51120,3 +51120,39 @@ configuration file and/or environment variables.")
     (synopsis "Macros for swc_ecma_codegen.")
     (description "Macros for swc_ecma_codegen.")
     (license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-ecma-codegen-0.52
+  (package
+    (name "rust-swc-ecma-codegen")
+    (version "0.52.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "swc_ecma_codegen" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "02by4cq93nzjrimd5vlzxmkmjhgzqi670cr4ffnw6kv2py3xbzsb"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-bitflags" ,rust-bitflags-1)
+         ("rust-num-bigint" ,rust-num-bigint-0.2)
+         ("rust-sourcemap" ,rust-sourcemap-6)
+         ("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-codegen-macros"
+          ,rust-swc-ecma-codegen-macros-0.5)
+         ("rust-swc-ecma-parser"
+          ,rust-swc-ecma-parser-0.54))))
+    (home-page
+      "https://github.com/swc-project/swc.git";)
+    (synopsis
+      "Ecmascript code generator for the swc project.")
+    (description
+      "Ecmascript code generator for the swc project.")
+    (license (list license:asl2.0 license:expat))))
-- 
2.29.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]