me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-aho-corasick-1.

* gnu/packages/crates-io.scm (rust-aho-corasick-1): New variable.
(rust-aho-corasick-0.7): Inherit from rust-aho-corasick-1.
Efraim Flashner 2023-07-13 20:52:12 +03:00
parent e93ba677e4
commit 6e9649b888
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 27 additions and 10 deletions

View File

@ -2546,26 +2546,43 @@ using AES-NI for high performance.")
("rust-rand" ,rust-rand-0.6) ("rust-rand" ,rust-rand-0.6)
("rust-seahash" ,rust-seahash-3)))))) ("rust-seahash" ,rust-seahash-3))))))
(define-public rust-aho-corasick-0.7 (define-public rust-aho-corasick-1
(package (package
(name "rust-aho-corasick") (name "rust-aho-corasick")
(version "0.7.20") (version "1.0.2")
(source (source (origin
(origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "aho-corasick" version)) (uri (crate-uri "aho-corasick" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1b3if3nav4qzgjz9bf75b2cv2h2yisrqfs0np70i38kgz4cn94yc")))) (base32
"0has59a3571irggpk5z8c0lpnx8kdx12qf4g2x0560i2y8dwpxj3"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-memchr" ,rust-memchr-2)))) (("rust-log" ,rust-log-0.4)
("rust-memchr" ,rust-memchr-2))
#:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3))))
(home-page "https://github.com/BurntSushi/aho-corasick") (home-page "https://github.com/BurntSushi/aho-corasick")
(synopsis "Fast multiple substring searching") (synopsis "Fast multiple substring searching")
(description "This package provides a fast multiple substring searching.") (description "This package provides a fast multiple substring searching.")
(license (list license:unlicense license:expat)))) (license (list license:unlicense license:expat))))
(define-public rust-aho-corasick-0.7
(package
(inherit rust-aho-corasick-1)
(name "rust-aho-corasick")
(version "0.7.20")
(source (origin
(method url-fetch)
(uri (crate-uri "aho-corasick" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1b3if3nav4qzgjz9bf75b2cv2h2yisrqfs0np70i38kgz4cn94yc"))))
(arguments
`(#:cargo-inputs (("rust-memchr" ,rust-memchr-2))))))
(define-public rust-aho-corasick-0.6 (define-public rust-aho-corasick-0.6
(package (package
(inherit rust-aho-corasick-0.7) (inherit rust-aho-corasick-0.7)