[bug#74234,rust-team,v3,05/23] gnu: Add rust-manifest-dir-macros-0.1.

Message ID 20241209011150.1455224-6-aaron.covrig.us@ieee.org
State New
Headers
Series WIP add gnome-authenticator |

Commit Message

Aaron Covrig Dec. 9, 2024, 1:11 a.m. UTC
  From: Giacomo Leidi <goodoldpaul@autistici.org>

* gnu/packages/crates-io.scm (rust-manifest-dir-macros-0.1): New variable.

Change-Id: Idc496ce8efcbf6d3742d4a2c04c04502cf8d323c
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++--
 1 file changed, 28 insertions(+), 2 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b437f9132d..94d3cc97a6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43835,6 +43835,32 @@  (define-public rust-malloc-buf-0.0
     (arguments
      `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))))
 
+(define-public rust-manifest-dir-macros-0.1
+  (package
+    (name "rust-manifest-dir-macros")
+    (version "0.1.18")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "manifest-dir-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14zm557gcm1ldr19ry53ngvni8vqaicm01xa5vg8pgyd3kg40vcw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-mime-guess" ,rust-mime-guess-2)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://magiclen.org/manifest-dir-macros")
+    (synopsis
+     "Provides macros to check or operate paths relative to CARGO_MANIFEST_DIR")
+    (description
+     "This crate provides function-like macros to check or operate paths
+relative to @emph{CARGO_MANIFEST_DIR} at compile time.")
+    (license license:expat)))
+
 (define-public rust-maplit-1
   (package
     (name "rust-maplit")
@@ -96867,7 +96893,7 @@  (define-public rust-xml5ever-0.16
 (define-public rust-xmlparser-0.13
   (package
     (name "rust-xmlparser")
-    (version "0.13.3")
+    (version "0.13.6")
     (source
      (origin
        (method url-fetch)
@@ -96876,7 +96902,7 @@  (define-public rust-xmlparser-0.13
        (sha256
         (base32 "1n73ymdxpdq30fgz698095zvh8k5r264rl6pcxnyyrr19nra4jqi"))))
     (build-system cargo-build-system)
-    (arguments `(#:skip-build? #t))
+    ;(arguments `(;#:skip-build? #t))
     (home-page "https://github.com/RazrFalcon/xmlparser")
     (synopsis "Pull-based, zero-allocation XML parser")
     (description