[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
457/472: gnu: Add rust-regex-automata-0.3.
From: |
guix-commits |
Subject: |
457/472: gnu: Add rust-regex-automata-0.3. |
Date: |
Tue, 18 Jul 2023 14:10:06 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 218871e3905170d302c67bff4ad39453cab30661
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jul 13 21:55:07 2023 +0300
gnu: Add rust-regex-automata-0.3.
* gnu/packages/crates-io.scm (rust-regex-automata-0.3): New variable.
(rust-regex-automata-0.1): Inherit from rust-regex-automata-0.3.
---
gnu/packages/crates-io.scm | 58 ++++++++++++++++++++++++++++++++--------------
1 file changed, 41 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7bef0450b5..f58aba66f6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52293,20 +52293,50 @@ uses finite automata and guarantees linear time
matching on all inputs.")
("rust-quickcheck" ,rust-quickcheck-0.2)
("rust-rand" ,rust-rand-0.3))))))
+(define-public rust-regex-automata-0.3
+ (package
+ (name "rust-regex-automata")
+ (version "0.3.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "regex-automata" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "041kj8fnyh3hv8sqmqq1am6agb1ckjxj6swjfcp8qih7vl84qd9r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Not all files included.
+ #:cargo-inputs
+ (("rust-aho-corasick" ,rust-aho-corasick-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.7))
+ #:cargo-development-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-bstr" ,rust-bstr-1)
+ ("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-env-logger" ,rust-env-logger-0.9)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-regex-test" ,rust-regex-test-0.1))))
+ (home-page "https://github.com/rust-lang/regex/tree/master/regex-automata")
+ (synopsis "Automata construction and matching using regular expressions")
+ (description
+ "Automata construction and matching using regular expressions.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-regex-automata-0.1
(package
+ (inherit rust-regex-automata-0.3)
(name "rust-regex-automata")
(version "0.1.9")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "regex-automata" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1r3aqa9c0s9sfrmd2w0mli16ldjzbar0rzb1x7srfjkasrqys7df"))))
- (build-system cargo-build-system)
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "regex-automata" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1r3aqa9c0s9sfrmd2w0mli16ldjzbar0rzb1x7srfjkasrqys7df"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -52320,13 +52350,7 @@ uses finite automata and guarantees linear time
matching on all inputs.")
("rust-serde" ,rust-serde-1)
("rust-serde-bytes" ,rust-serde-bytes-0.11)
("rust-serde-derive" ,rust-serde-derive-1)
- ("rust-toml" ,rust-toml-0.5)))) ; 0.4
- (home-page "https://github.com/BurntSushi/regex-automata")
- (synopsis
- "Automata construction and matching using regular expressions")
- (description
- "Automata construction and matching using regular expressions.")
- (license (list license:expat license:unlicense))))
+ ("rust-toml" ,rust-toml-0.5)))))) ; 0.4
(define-public rust-regex-syntax-0.6
(package
- 405/472: gnu: rust-stacker-0.1: Update to 0.1.15., (continued)
- 405/472: gnu: rust-stacker-0.1: Update to 0.1.15., guix-commits, 2023/07/18
- 210/472: gnu: Remove rust-proptest-0.8., guix-commits, 2023/07/18
- 246/472: gnu: Add rust-anstyle-parse-0.2., guix-commits, 2023/07/18
- 341/472: gnu: Add rust-is-ci-1., guix-commits, 2023/07/18
- 372/472: gnu: rust-unicode-bidi-0.3: Update to 0.3.22., guix-commits, 2023/07/18
- 385/472: gnu: rust-bytecheck-derive-0.6: Update to 0.6.11., guix-commits, 2023/07/18
- 392/472: gnu: rust-ref-cast-impl-1: Update to 1.0.18., guix-commits, 2023/07/18
- 406/472: gnu: rust-syn-2: Update to 2.0.25., guix-commits, 2023/07/18
- 424/472: gnu: Add rust-bstr-1., guix-commits, 2023/07/18
- 426/472: gnu: rust-futures-0.3: Update to 0.3.28., guix-commits, 2023/07/18
- 457/472: gnu: Add rust-regex-automata-0.3.,
guix-commits <=
- 461/472: gnu: rust-pyo3-ffi-0.18: Inherit from rust-pyo3-ffi-0.19., guix-commits, 2023/07/18
- 466/472: gnu: Add rust-xz-0.1., guix-commits, 2023/07/18
- 450/472: gnu: Add rust-pyo3-build-config-0.19., guix-commits, 2023/07/18
- 456/472: gnu: Add rust-pyo3-macros-0.18., guix-commits, 2023/07/18
- 448/472: gnu: Add rust-pyo3-ffi-0.19., guix-commits, 2023/07/18
- 248/472: gnu: Add rust-capnp-rpc-0.14., guix-commits, 2023/07/18
- 261/472: gnu: Add rust-ecb-0.1., guix-commits, 2023/07/18
- 257/472: gnu: Add rust-color-print-proc-macro-0.3., guix-commits, 2023/07/18
- 255/472: gnu: rust-clap-4: Update to 4.3.0., guix-commits, 2023/07/18
- 278/472: gnu: rust-os-str-bytes-6: Update to 6.5.0., guix-commits, 2023/07/18