guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/16: gnu: Add rust-content-inspector-0.2.


From: guix-commits
Subject: 09/16: gnu: Add rust-content-inspector-0.2.
Date: Sat, 5 Dec 2020 11:46:20 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 8faddefa03a1b21381f206e248021a4248d7334c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat Dec 5 15:38:39 2020 +0100

    gnu: Add rust-content-inspector-0.2.
    
    * gnu/packages/crates-io.scm (rust-content-inspector-0.2): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index db934ee..ae733de 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]