me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-const-panic-0.2.

* gnu/packages/crates-io.scm (rust-const-panic-0.2): New variable.

Change-Id: I50532ed60c636ac128a3b54bdf2bcea40985e483
master
Efraim Flashner 2024-03-16 21:24:46 +02:00
parent 906ec982b8
commit 604134bbf7
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 25 additions and 0 deletions

View File

@ -12938,6 +12938,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")