gnu: Add rust-regex-0.2.

* gnu/packages/crates-io.scm (rust-regex-0.2): New variable.
This commit is contained in:
Efraim Flashner 2020-01-20 21:35:21 +02:00
parent 2f1fe591d1
commit 5381d5c49f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -8927,6 +8927,34 @@ (define-public rust-regex-1.1
("rust-quickcheck" ,rust-quickcheck-0.8)
("rust-rand" ,rust-rand-0.4))))))
(define-public rust-regex-0.2
(package
(inherit rust-regex-1.3)
(name "rust-regex")
(version "0.2.11")
(source
(origin
(method url-fetch)
(uri (crate-uri "regex" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1163ir1k5zjspirfjl4wqbviwrxlhmfwy95xxb69y4irkv4snack"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-aho-corasick" ,rust-aho-corasick-0.6)
("rust-memchr" ,rust-memchr-2.2)
("rust-regex-syntax" ,rust-regex-syntax-0.5)
("rust-thread-local" ,rust-thread-local-0.3)
("rust-utf8-ranges" ,rust-utf8-ranges-1.0))
#:cargo-development-inputs
(("rust-lazy-static" ,rust-lazy-static-1.3)
("rust-quickcheck" ,rust-quickcheck-0.6)
("rust-rand" ,rust-rand-0.4))))))
(define-public rust-regex-automata-0.1
(package
(name "rust-regex-automata")