@@ -30485,6 +30485,42 @@ automatically instrumenting functions.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-tree-magic-fork-0.2
+ (package
+ (name "rust-tree-magic-fork")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tree-magic-fork" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bqkd17ih1ixlarjw8p5h5q584j681vmwg1zkww873w2kg523fda"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-clap" ,rust-clap-2)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-nom" ,rust-nom-2)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-parking-lot" ,rust-parking-lot-0.8)
+ ("rust-petgraph" ,rust-petgraph-0.5)
+ ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
+ ("rust-tabwriter" ,rust-tabwriter-1)
+ ("rust-walkdir" ,rust-walkdir-2))
+ #:features '("cli")
+ ;; "error[E0463]: can't find crate for `tree_magic`"
+ #:skip-build? #t))
+ (home-page "https://github.com/aahancoc/tree_magic")
+ (synopsis "Determine MIME type efficiently")
+ (description
+ "This package determines the MIME types of files by traversing a tree of
+filetypes.")
+ (license license:expat)))
+
(define-public rust-treeline-0.1
(package
(name "rust-treeline")