gnu: Add rust-const-panic-0.2.
* gnu/packages/crates-io.scm (rust-const-panic-0.2): New variable. Change-Id: I50532ed60c636ac128a3b54bdf2bcea40985e483master
parent
906ec982b8
commit
604134bbf7
|
@ -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")
|
||||
|
|
Reference in New Issue