guix-commits
[Top][All Lists]
Advanced

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

92/330: gnu: Add rust-const-panic-0.2.


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

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4626084cc7..a576eab594 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12877,6 +12877,31 @@ literals.")
     (description "Implementation detail of the @code{const_format} crate.")
     (license license:zlib)))
 
+(define-public rust-const-panic-0.2
+  (package
+    (name "rust-const-panic")
+    (version "0.2.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "const_panic" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "16w72mnzjqgwfhlq8cqm6xhd2n6lc1wan08987izv1pcxhwz4lb0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--features=test")
+       #:cargo-inputs
+       (("rust-const-panic-proc-macros" ,rust-const-panic-proc-macros-0.2)
+        ("rust-typewit" ,rust-typewit-1))
+       #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.7)
+                                   ("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/rodrimati1992/const_panic/";)
+    (synopsis "Const panic with formatting")
+    (description "This package provides const panic with formatting.")
+    (license license:zlib)))
+
 (define-public rust-const-panic-proc-macros-0.2
   (package
     (name "rust-const-panic-proc-macros")



reply via email to

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