summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-24 11:50:06 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-06 18:29:41 +0100
commitc3af32acb9b2febcf8a04fa2b5d1204f37abe594 (patch)
tree946f42fdffa05812d9e3eec015b92fa71dd5861f /gnu
parent03487c3595f2ec95f0a486a82933a007cfa6a7d8 (diff)
downloadguix-c3af32acb9b2febcf8a04fa2b5d1204f37abe594.tar.gz
gnu: Add rust-infer-0.2.
* gnu/packages/crates-io.scm (rust-infer-0.2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 95f0a725d6..17c96b9515 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15503,6 +15503,26 @@ or numerical index.  A corresponding hash set type is also provided.")
 Rust.")
     (license license:expat)))
 
+(define-public rust-infer-0.2
+  (package
+    (name "rust-infer")
+    (version "0.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "infer" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1b4ziqcv0d1wga5yfqf620dkgzijsdw3ylnzq61bfaxla2d85sb4"))))
+    (build-system cargo-build-system)
+    (arguments `(#:tests? #false))      ;missing files
+    (home-page "https://github.com/bojand/infer")
+    (synopsis "Infer file types based on its magic number signature")
+    (description
+     "This crate infers a file types based on its magic number
+signature.")
+    (license license:expat)))
+
 (define-public rust-inflate-0.4
   (package
     (name "rust-inflate")