diff mbox series

[bug#47948,33/49] gnu: Add rust-swc-ecma-dep-graph.

Message ID 20210422102208.1154-33-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-dep-graph-0.22): New variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 53d6e33453..ce52d72617 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50963,3 +50963,32 @@  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-dep-graph-0.22
+  (package
+    (name "rust-swc-ecma-dep-graph")
+    (version "0.22.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "swc_ecma_dep_graph" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1l56x59y927zhyz8hfy3yj93sjzhpfi8zp31rpc06a0h5199xa11"))))
+    (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-visit" ,rust-swc-ecma-visit-0.29))))
+    (home-page
+      "https://github.com/swc-project/swc.git")
+    (synopsis "Dependency graph for the ecmascript")
+    (description
+      "Dependency graph for the ecmascript")
+    (license (list license:asl2.0 license:expat))))