Subject: [bug#69257] [PATCH rust-team v2 086/117] gnu: Add rust-mime2ext-0.1.

From: Herman Rimm <[email-masked]>
Date: Sun, 28 Apr 2024 20:55:52 +0200

* gnu/packages/crates-io.scm (rust-mime2ext-0.1): Add variable.

Change-Id: Ib07eb54111ea5bf1f04b3283b0523efc53565e2f
---
 gnu/packages/crates-io.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 19f6edcfbc..59768ab01a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43223,6 +43223,24 @@ (define-public rust-mime-guess-1
         ("rust-phf-codegen" ,rust-phf-codegen-0.7)
         ("rust-unicase" ,rust-unicase-1))))))
 
+(define-public rust-mime2ext-0.1
+  (package
+    (name "rust-mime2ext")
+    (version "0.1.52")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mime2ext" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0w2cb2nmfnj7npkn1kvy1pcyknxdh7676mwqn5j0xm7bd585ma51"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/blyxxyz/mime2ext")
+    (synopsis "Given a mimetype, suggest a file extension")
+    (description
+      "This package provides file extension suggestions for given mimetypes.")
+    (license license:expat)))
+
 (define-public rust-miniflux-api-0.3
   (package
     (name "rust-miniflux-api")
-- 
2.41.0