guix-patches
[Top][All Lists]
Advanced

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

[bug#47948] [PATCH 15/49] gnu: Add rust-swc-visit.


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

* gnu/packages/crates-io.scm (rust-swc-visit-0.2): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 48e6a82653..686fe41dbf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50310,3 +50310,31 @@ configuration file and/or environment variables.")
     (description
       "Visitor generator for stable rustc")
     (license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-visit-0.2
+  (package
+    (name "rust-swc-visit")
+    (version "0.2.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "swc_visit" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "17m31k7vyn82rm42bdq3nhv5jjzkh60vh24kalc12bh0ys1zwg2q"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-either" ,rust-either-1)
+         ("rust-swc-visit-macros"
+          ,rust-swc-visit-macros-0.2))))
+    (home-page
+      "https://github.com/swc-project/swc.git";)
+    (synopsis "Visitor generator for stable rustc")
+    (description
+      "Visitor generator for stable rustc")
+    (license (list license:asl2.0 license:expat))))
-- 
2.29.2






reply via email to

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