@@ -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))))