mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: Add rust-chardetng-0.1.
* gnu/packages/crates-web.scm (rust-chardetng-0.1): New variable. Change-Id: If463ef567ec2e7bb5bf3c9b4b8488e44a3cd591e
This commit is contained in:
parent
941fdb1084
commit
39aea8a51a
1 changed files with 26 additions and 0 deletions
|
@ -2245,6 +2245,32 @@ (define-public rust-axum-macros-0.3
|
|||
(description "Macros for @code{axum}.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-chardetng-0.1
|
||||
(package
|
||||
(name "rust-chardetng")
|
||||
(version "0.1.17")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "chardetng" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1spikjcnblwa5n1nnk46fxkwn86yfiqxgs47h4yaw23vbfvg1f0l"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; cannot find macro `println` in this scope
|
||||
#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5)
|
||||
("rust-cfg-if" ,rust-cfg-if-1)
|
||||
("rust-encoding-rs" ,rust-encoding-rs-0.8)
|
||||
("rust-memchr" ,rust-memchr-2)
|
||||
("rust-rayon" ,rust-rayon-1))
|
||||
#:cargo-development-inputs (("rust-detone" ,rust-detone-1))))
|
||||
(home-page "https://docs.rs/chardetng/")
|
||||
(synopsis "Character encoding detector for legacy Web content")
|
||||
(description
|
||||
"This package provides a character encoding detector for legacy Web content.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
|
||||
(define-public rust-chunked-transfer-1
|
||||
(package
|
||||
(name "rust-chunked-transfer")
|
||||
|
|
Loading…
Reference in a new issue