guix-commits
[Top][All Lists]
Advanced

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

67/330: gnu: Add rust-regex-lite-0.1.


From: guix-commits
Subject: 67/330: gnu: Add rust-regex-lite-0.1.
Date: Mon, 18 Mar 2024 07:15:15 -0400 (EDT)

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

commit 15316abdc317548c8d069b79d58fb6992f55f2df
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 12:44:01 2024 +0200

    gnu: Add rust-regex-lite-0.1.
    
    * gnu/packages/crates-io.scm (rust-regex-lite-0.1): New variable.
    
    Change-Id: I356fd9c299401597a6ac8bbbb0a4a502df47e473
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e0b9eb9acb..355e4a1ad9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55200,6 +55200,30 @@ uses finite automata and guarantees linear time 
matching on all inputs.")
         ("rust-serde-derive" ,rust-serde-derive-1)
         ("rust-toml" ,rust-toml-0.5)))))) ; 0.4
 
+(define-public rust-regex-lite-0.1
+  (package
+    (name "rust-regex-lite")
+    (version "0.1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "regex-lite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13ndx7ibckvlasyzylqpmwlbp4kahrrdl3ph2sybsdviyar63dih"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; Not all files included.
+       #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)
+                                   ("rust-regex-test" ,rust-regex-test-0.1))))
+    (home-page "https://github.com/rust-lang/regex/tree/master/regex-lite";)
+    (synopsis
+     "Lightweight regex engine optimized for binary size and compilation time")
+    (description
+     "This package provides a lightweight regex engine that optimizes for 
binary
+size and compilation time.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-regex-syntax-0.8
   (package
     (name "rust-regex-syntax")



reply via email to

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