Subject: [bug#73397] [PATCH] gnu: Add mimeo-2023.

From: Sisiutl <[email-masked]>
Date: Fri, 20 Sep 2024 23:38:35 +0200

* gnu/packages/freedesktop.scm (mimeo): New variable.

Change-Id: If5267855462306532637096ad5943dcca4c9154e
---
 gnu/packages/freedesktop.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index e9f6841f7c..b370cbca48 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1313,2 +1313,2 @@ (define-public python-pyxdg
 Python.")
     (license license:lgpl2.0)))

+(define-public mimeo
+  (package
+    (name "mimeo")
+    (version "2023")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://xyne.dev/projects/mimeo/src/mimeo-"
+                           version ".tar.xz"))
+       (sha256
+        (base32 "1459kvnf96bvxxf5r8lg2lldm5ymfbdpdlriaj3mcivh595nza09"))))
+    (build-system python-build-system)
+    (home-page "https://xyne.dev/projects/mimeo/")
+    (synopsis
+     "This program opens files by MIME-type or file name using regular expressions")
+    (description
+     "Mimeo uses MIME-type file associations to determine which
+application should be used to open a file.  It can launch files or print
+information such as the command that it would use, the detected MIME-type, etc.")
+    (native-inputs (list file python-pyxdg))
+    (license license:gpl3)))
+
 (define-public wayland
   (package
     (name "wayland")
-- 
2.46.0