From a40e385a11144ae1a7ed060b3d55a71c023901ce Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 31 Mar 2024 14:31:26 +0300 Subject: [PATCH] gnu: Add rust-lazy-regex-proc-macros-3. * gnu/packages/crates-io.scm (rust-lazy-regex-proc-macros-3): New variable. Change-Id: Iacd350e068cd1b7e7cd9315451984838414606cb --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 64190f1090..b92f7ad4c3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36068,6 +36068,29 @@ generated by LALRPOP.") "This crate provides simple methods to cast from and into byte arrays.") (license license:boost1.0))) +(define-public rust-lazy-regex-proc-macros-3 + (package + (name "rust-lazy-regex-proc-macros") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lazy-regex-proc_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02zgaxdq95s0xm4svbdz6f4xkf4kncl5gjfdzyxgr9wpdj7dbg24")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; cannot find macro `regex_replace_all` in this scope + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/Canop/lazy-regex") + (synopsis "Proc macros for the lazy_regex crate") + (description "This package provides proc macros for the lazy_regex crate.") + (license license:expat))) + (define-public rust-lazy-static-1 (package (name "rust-lazy-static")