[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51730] [PATCH 12/21] gnu: Add rust-tree-magic-0.2.
From: |
phodina |
Subject: |
[bug#51730] [PATCH 12/21] gnu: Add rust-tree-magic-0.2. |
Date: |
Tue, 09 Nov 2021 21:18:47 +0000 |
* gnu/packages/crates-io.scm (rust-tree-magic-0.2): New variable.
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8ebaef2133..83355cabcb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55529,6 +55529,38 @@ (define-public rust-trash-1
recycle bin.")
(license license:expat)))
+(define-public rust-tree-magic-0.2
+ (package
+ (name "rust-tree-magic")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tree_magic" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0adndj775gjcvkf7yxdfj3pl39fcdiibswwgff23lm9yrrkr7ndi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-clap" ,rust-clap-2)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-nom" ,rust-nom-3)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-parking-lot" ,rust-parking-lot-0.10)
+ ("rust-petgraph" ,rust-petgraph-0.5)
+ ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
+ ("rust-tabwriter" ,rust-tabwriter-1)
+ ("rust-walkdir" ,rust-walkdir-2))))
+ (home-page "https://github.com/aahancoc/tree_magic/")
+ (synopsis "Determines the MIME type")
+ (description "This package determines the MIME type of a file by
+traversing a filetype tree.")
+ (license license:expat)))
+
(define-public rust-treeline-0.1
(package
(name "rust-treeline")
--
2.33.1
- [bug#51730] [PATCH 04/21] gnu: Add rust-tui-0.16., (continued)
- [bug#51730] [PATCH 04/21] gnu: Add rust-tui-0.16., phodina, 2021/11/09
- [bug#51730] [PATCH 05/21] gnu: Add rust-random-0.12., phodina, 2021/11/09
- [bug#51730] [PATCH 06/21] gnu: Add rust-dotenv-0.13, phodina, 2021/11/09
- [bug#51730] [PATCH 07/21] gnu: Add rust-derive-builder-core-0.5., phodina, 2021/11/09
- [bug#51730] [PATCH 08/21] gnu: Add rust-derive-builder-0.7., phodina, 2021/11/09
- [bug#51730] [PATCH 09/21] gnu: Add rust-rspotify-0.10., phodina, 2021/11/09
- [bug#51730] [PATCH 10/21] gnu: Add rust-winapi-wsapoll-0.1., phodina, 2021/11/09
- [bug#51730] [PATCH 11/21] gnu: Add rust-x11rb-0.8., phodina, 2021/11/09
- [bug#51730] [PATCH 13/21] gnu: rust-anyhow-1: Update to 1.0.46., phodina, 2021/11/09
- [bug#51730] [PATCH 14/21] gnu: Add rust-atty-0.2.11., phodina, 2021/11/09
- [bug#51730] [PATCH 12/21] gnu: Add rust-tree-magic-0.2.,
phodina <=
- [bug#51730] [PATCH 15/21] gnu: rust-os-pipe-0.9: Update to 0.9.2., phodina, 2021/11/09
- [bug#51730] [PATCH 16/21] gnu: Add rust-simple-logger-1., phodina, 2021/11/09
- [bug#51730] [PATCH 17/21] gnu: Add rust-stderrlog-0.4., phodina, 2021/11/09
- [bug#51730] [PATCH 18/21] gnu: Add rust-thread-local-0.3.4., phodina, 2021/11/09
- [bug#51730] [PATCH 19/21] gnu: Add rust-wl-clipboard-rs-0.4., phodina, 2021/11/09
- [bug#51730] [PATCH 20/21] gnu: rust-arboard-1: Update to 1.2.1., phodina, 2021/11/09
- [bug#51730] [PATCH 21/21] gnu: Add rust-spotify-tui-0.25., phodina, 2021/11/09