Subject: [PATCH 2/2] gnu: Add emacs-dired-open.

From: Oleg Pykhalov <[email-masked]>
Date: Sat, 10 Jun 2017 04:05:32 +0300

---
 gnu/packages/emacs.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index e3f5b926c..5f00a7ad5 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4896,3 +4896,31 @@ displays results pretty-printed in XML or JSON with @code{restclient-mode}")
      "Provides shared functionality and helpers for dired-hacks-utils
 collection.")
     (license license:gpl3+)))
+
+(define-public dired-open
+  (package
+    (name "emacs-dired-open")
+    (version "20160205.1213")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://melpa.org/packages/dired-open-"
+             version
+             ".el"))
+       (sha256
+        (base32
+         "1fifc0k222l25f8jpqllhzq411dcvhbgzlr27mx1rnbnnabxya38"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-dash" ,emacs-dash)
+       ("emacs-dired-hacks-utils"
+        ,dired-hacks-utils)))
+    (home-page "https://github.com/Fuco1/dired-hacks")
+    (synopsis
+     "Open files from dired using using custom actions")
+    (description
+     "Adds a mechanism to add hooks to dired-find-file that will run before
+emacs tries its own mechanisms to open the file, thus enabling you to launch
+other application or code and suspend the default behaviour.")
+    (license license:gpl3+)))
-- 
2.13.1