Subject: [PATCH 140/156] gnu: Add rust-tree-magic-db-3.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:53:57 +0100

* gnu/packages/crates-io.scm (rust-tree-magic-db-3): New variable.

Change-Id: I571ec89044212f8e3f787a726c46f15c4565a308
---
 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 c73e3042202..62f8548d013 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81073,6 +81073,28 @@ (define-public rust-trash-2
 recycle bin.")
     (license license:expat)))
 
+(define-public rust-tree-magic-db-3
+  (package
+    (name "rust-tree-magic-db")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tree_magic_db" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00kzsn98cv0r7yzwi2dcm0fzpbxmc7pxijhb5dgb3cr7ai5c4gz7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "")
+    (synopsis
+     "Packages the FreeDesktop.org shared MIME database for optional use with tree_magic_mini")
+    (description
+     "Packages the @code{FreeDesktop.org} shared MIME database for optional use with
+tree_magic_mini")
+    (license license:gpl2+)))
+
 (define-public rust-tree-magic-0.2
   (package
     (name "rust-tree-magic")
-- 
2.41.0