gnu: Add rust-regex-1.1.
* gnu/packages/crates-io.scm (rust-regex-1.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>master
parent
bc0d1bb718
commit
583a5fdfeb
|
@ -2360,18 +2360,16 @@ deserialization, and interpreter in Rust.")
|
||||||
"103i66a998g1fjrqf9sdyvi8qi83hwglz3pjdcq9n2r207hsagb0"))))
|
"103i66a998g1fjrqf9sdyvi8qi83hwglz3pjdcq9n2r207hsagb0"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-libc" ,rust-libc-0.2)
|
(("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-log" ,rust-log-0.4)
|
("rust-log" ,rust-log-0.4)
|
||||||
("rust-pcre2-sys" ,rust-pcre2-sys-0.2)
|
("rust-pcre2-sys" ,rust-pcre2-sys-0.2)
|
||||||
("rust-thread-local" ,rust-thread-local-0.3))))
|
("rust-thread-local" ,rust-thread-local-0.3))))
|
||||||
(home-page
|
(home-page "https://github.com/BurntSushi/rust-pcre2")
|
||||||
"https://github.com/BurntSushi/rust-pcre2")
|
(synopsis "High level wrapper library for PCRE2")
|
||||||
(synopsis
|
|
||||||
"High level wrapper library for PCRE2")
|
|
||||||
(description
|
(description
|
||||||
"High level wrapper library for PCRE2.")
|
"This package provides a high level wrapper library for PCRE2.")
|
||||||
(license (list license:expat license:unlicense))))
|
(license (list license:expat license:unlicense))))
|
||||||
|
|
||||||
(define-public rust-pcre2-sys-0.2
|
(define-public rust-pcre2-sys-0.2
|
||||||
|
@ -3035,6 +3033,41 @@ system calls.")
|
||||||
(properties '((hidden? . #t)))
|
(properties '((hidden? . #t)))
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-regex-1.1
|
||||||
|
(package
|
||||||
|
(name "rust-regex")
|
||||||
|
(version "1.1.7")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "regex" version))
|
||||||
|
(file-name
|
||||||
|
(string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1pabajpp0wzb7dm2x32gy8w7k0mwykr6zsvzn0fgpr6pww40hbqb"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-aho-corasick" ,rust-aho-corasick-0.7)
|
||||||
|
("rust-memchr" ,rust-memchr-2.2)
|
||||||
|
("rust-regex-syntax" ,rust-regex-syntax-0.6)
|
||||||
|
("rust-thread-local" ,rust-thread-local-0.3)
|
||||||
|
("rust-utf8-ranges" ,rust-utf8-ranges-1.0))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-doc-comment" ,rust-doc-comment-0.3)
|
||||||
|
("rust-lazy-static" ,rust-lazy-static-1.3)
|
||||||
|
("rust-quickcheck" ,rust-quickcheck-0.8)
|
||||||
|
("rust-rand" ,rust-rand-0.4))))
|
||||||
|
(home-page "https://github.com/rust-lang/regex")
|
||||||
|
(synopsis
|
||||||
|
"Regular expressions for Rust")
|
||||||
|
(description
|
||||||
|
"An implementation of regular expressions for Rust. This implementation
|
||||||
|
uses finite automata and guarantees linear time matching on all inputs.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-regex-syntax-0.6
|
(define-public rust-regex-syntax-0.6
|
||||||
(package
|
(package
|
||||||
(name "rust-regex-syntax")
|
(name "rust-regex-syntax")
|
||||||
|
|
Reference in New Issue