guix-commits
[Top][All Lists]
Advanced

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

91/330: gnu: Add rust-const-panic-proc-macros-0.2.


From: guix-commits
Subject: 91/330: gnu: Add rust-const-panic-proc-macros-0.2.
Date: Mon, 18 Mar 2024 07:15:24 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit bf6645fec057fb8bb2d8f49fe8f8aa759a9912f4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:24:16 2024 +0200

    gnu: Add rust-const-panic-proc-macros-0.2.
    
    * gnu/packages/crates-io.scm (rust-const-panic-proc-macros-0.2): New
    variable.
    
    Change-Id: I702f03026d6256a8454885bd5e16df55f075f7dd
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 573ba132ec..4626084cc7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12877,6 +12877,28 @@ literals.")
     (description "Implementation detail of the @code{const_format} crate.")
     (license license:zlib)))
 
+(define-public rust-const-panic-proc-macros-0.2
+  (package
+    (name "rust-const-panic-proc-macros")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "const_panic_proc_macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1addx3a8vi02cdak3ygrqivv02jj73251h85x49aic78yznrhlrr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1)
+                       ("rust-unicode-xid" ,rust-unicode-xid-0.2))))
+    (home-page "https://github.com/rodrimati1992/const_panic/";)
+    (synopsis "Implementation detail of the `const_panic` crate")
+    (description "Implementation detail of the `const_panic` crate.")
+    (license license:zlib)))
+
 ;; This package requires features which are unavailable
 ;; on the stable releases of Rust.
 (define-public rust-compiler-builtins-0.1



reply via email to

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