From 4ddcb64cce22daae7d574b9dbdcd10492529768b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 23 Dec 2024 14:21:58 +0200 Subject: [PATCH] gnu: Add rust-const-str-0.5. * gnu/packages/crates-io.scm (rust-const-str-0.5): New variable. Change-Id: I9bb7cc4f1ead90822ebbcbc6bdb4fe50ab12a42e --- 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 5593832687..a35aea3584 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15819,6 +15819,28 @@ (define-public rust-const-panic-proc-macros-0.2 (description "Implementation detail of the `const_panic` crate.") (license license:zlib))) +(define-public rust-const-str-0.5 + (package + (name "rust-const-str") + (version "0.5.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "const-str" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1agvan36a2fgks5w47kk8idym54rdk504p6q2nj8gf9v136cq61n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-const-str-proc-macro" ,rust-const-str-proc-macro-0.5)) + #:cargo-development-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-http" ,rust-http-1) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/Nugine/const-str") + (synopsis "Compile-time string operations") + (description "This package provides compile-time string operations.") + (license license:expat))) + (define-public rust-const-str-proc-macro-0.5 (package (name "rust-const-str-proc-macro")