From 94d78fa3615c3c69d3fe8f6b9aa0cd6a15d2a756 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 18 Mar 2024 12:01:36 +0200 Subject: [PATCH] gnu: Add rust-stable-pattern-0.1. * gnu/packages/crates-io.scm (rust-stable-pattern-0.1): New variable. Change-Id: I15d4a121da65441bd3f2fcb2134c056cbad06767 --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 46908d293d..32cd1eef16 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -68998,6 +68998,27 @@ (define-public rust-stable-deref-trait-1 (license (list license:asl2.0 license:expat)))) +(define-public rust-stable-pattern-0.1 + (package + (name "rust-stable-pattern") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "stable-pattern" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i8hq82vm82mqj02qqcsd7caibrih7x5w3a1xpm8hpv30261cr25")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; no method named `as_str` found for struct `std::str::Split` + #:cargo-inputs (("rust-memchr" ,rust-memchr-2)))) + (home-page "https://github.com/SergioBenitez/stable-pattern") + (synopsis "Stable port of std::str::Pattern and friends") + (description + "This package provides a stable port of @code{std::str::Pattern} and friends.") + (license (list license:expat license:asl2.0)))) + (define-public rust-stacker-0.1 (package (name "rust-stacker")