me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-chardetng-0.1.

* gnu/packages/crates-web.scm (rust-chardetng-0.1): New variable.

Change-Id: If463ef567ec2e7bb5bf3c9b4b8488e44a3cd591e
master
Efraim Flashner 2024-03-31 14:57:53 +03:00
parent 941fdb1084
commit 39aea8a51a
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 26 additions and 0 deletions

View File

@ -2245,6 +2245,32 @@ built on the Actix ecosystem.")
(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")