diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 15:38:39 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 17:39:26 +0100 |
commit | 8faddefa03a1b21381f206e248021a4248d7334c (patch) | |
tree | bcb7a9c8a9e34f5de1449235478e3a10038e8c92 /gnu/packages/crates-io.scm | |
parent | bbb25c9cc09df12a4b1623ac50b5462a2c5920d6 (diff) |
gnu: Add rust-content-inspector-0.2.
* gnu/packages/crates-io.scm (rust-content-inspector-0.2): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index db934eebb3..ae733de1be 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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") |