aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-31 14:57:53 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:45:39 +0300
commit39aea8a51a66b049ff9cc145ca178030b9e5053d (patch)
tree00b49ac594de17734a41bc55bdd8ced7d491764e /gnu/packages/crates-web.scm
parent941fdb10843522aebf9d91c5da87740b9f71583e (diff)
downloadguix-39aea8a51a66b049ff9cc145ca178030b9e5053d.tar.gz
guix-39aea8a51a66b049ff9cc145ca178030b9e5053d.zip
gnu: Add rust-chardetng-0.1.
* gnu/packages/crates-web.scm (rust-chardetng-0.1): New variable. Change-Id: If463ef567ec2e7bb5bf3c9b4b8488e44a3cd591e
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r--gnu/packages/crates-web.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 5bf8b5c0a0..eab91e7139 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -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")