guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

301/330: gnu: Add rust-stable-pattern-0.1.


From: guix-commits
Subject: 301/330: gnu: Add rust-stable-pattern-0.1.
Date: Mon, 18 Mar 2024 07:16:42 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 349addf44f80ca76616ad5077e0666ad09a056aa
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 12:01:36 2024 +0200

    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 589f484f42..f406dd516f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68801,6 +68801,27 @@ to the same address.")
     (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]