me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-content-inspector-0.2.

* gnu/packages/crates-io.scm (rust-content-inspector-0.2): New variable.
master
Nicolas Goaziou 2020-12-05 15:38:39 +01:00
parent bbb25c9cc0
commit 8faddefa03
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 22 additions and 0 deletions

View File

@ -4475,6 +4475,28 @@ generation.")
It is inspired by the Linux kernel's @code{crypto_memneq}.")
(license license:cc0)))
(define-public rust-content-inspector-0.2
(package
(name "rust-content-inspector")
(version "0.2.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "content_inspector" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0f1gwv4axxw9wck4a4jxlkm7xjjakb3616isll2k0s4chmpadgdp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-memchr" ,rust-memchr-2))))
(home-page "https://github.com/sharkdp/content_inspector")
(synopsis "Fast inspection of binary buffers to guess the encoding")
(description
"This package is a simple library for fast inspection of binary buffers
to guess the type of content.")
(license (list license:expat license:asl2.0))))
(define-public rust-conv-0.3
(package
(name "rust-conv")