@@ -50660,3 +50660,47 @@ 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-optimization-0.15
+ (package
+ (name "rust-swc-ecma-transforms-optimization")
+ (version "0.15.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri
+ "swc_ecma_transforms_optimization"
+ version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gfxh99168j0wbd3qzig7yf82s37xycv85pa6x9hk11y40ipc61z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-dashmap" ,rust-dashmap-4)
+ ("rust-fxhash" ,rust-fxhash-0.2)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-retain-mut" ,rust-retain-mut-0.1)
+ ("rust-serde-json" ,rust-serde-json-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))))