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.
This commit is contained in:
Efraim Flashner 2023-07-13 21:55:07 +03:00
parent d527cde325
commit 51b646ab7b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -52293,20 +52293,50 @@ (define-public rust-regex-0.1
("rust-quickcheck" ,rust-quickcheck-0.2)
("rust-rand" ,rust-rand-0.3))))))
(define-public rust-regex-automata-0.1
(define-public rust-regex-automata-0.3
(package
(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"))))
(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"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
@ -52320,13 +52350,7 @@ (define-public rust-regex-automata-0.1
("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