diff mbox series

[bug#47948,16/49] gnu: Add rust-swc-eq-ignore-macros.

Message ID 20210422102208.1154-16-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-eq-ignore-macros-0.1): 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 686fe41dbf..0255b85a4d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50338,3 +50338,32 @@  configuration file and/or environment variables.")
     (description
       "Visitor generator for stable rustc")
     (license (list license:asl2.0 license:expat))))
+
+(define-public rust-swc-eq-ignore-macros-0.1
+  (package
+    (name "rust-swc-eq-ignore-macros")
+    (version "0.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "swc_eq_ignore_macros" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0plgi4sw7jykf8jzd9bxw6ljzm76csmgm1d6q7kkindf5q5213wc"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-pmutil" ,rust-pmutil-0.5)
+         ("rust-proc-macro2" ,rust-proc-macro2-1)
+         ("rust-quote" ,rust-quote-1)
+         ("rust-syn" ,rust-syn-1))))
+    (home-page
+      "https://github.com/swc-project/swc.git")
+    (synopsis "Macros for EqIgnoreSpan and TypeEq.")
+    (description
+      "Macros for EqIgnoreSpan and TypeEq.")
+    (license (list license:asl2.0 license:expat))))