about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/emacs/explain-pause-mode.nix20
-rw-r--r--tools/emacs/default.nix1
2 files changed, 21 insertions, 0 deletions
diff --git a/third_party/emacs/explain-pause-mode.nix b/third_party/emacs/explain-pause-mode.nix
new file mode 100644
index 000000000000..60e0cd149881
--- /dev/null
+++ b/third_party/emacs/explain-pause-mode.nix
@@ -0,0 +1,20 @@
+{ pkgs, ... }:
+
+let
+  inherit (pkgs) emacsPackages fetchFromGitHub;
+in emacsPackages.melpaBuild {
+  pname = "explain-pause-mode";
+  version = "0.1"; # master on 20200603
+
+  recipe = builtins.toFile "recipe.el" ''
+    (explain-pause-mode :fetcher github
+                        :repo "lastquestion/explain-pause-mode")
+  '';
+
+  src = fetchFromGitHub {
+    owner = "lastquestion";
+    repo = "explain-pause-mode";
+    rev = "35f7d780a9c164b5c502023746473b1de3857904";
+    sha256 = "0d9lwzqqwmz0n94i7959rj7m24265yf3825a5g8cd7fyzxznl1pc";
+  };
+}
diff --git a/tools/emacs/default.nix b/tools/emacs/default.nix
index abd4df4d9a60..de53270393be 100644
--- a/tools/emacs/default.nix
+++ b/tools/emacs/default.nix
@@ -111,6 +111,7 @@ let
     depot.third_party.emacs.exwm
     depot.third_party.emacs.rcirc
     depot.third_party.emacs.vterm
+    depot.third_party.explain-pause-mode
   ]))));
 in lib.fix(self: l: f: third_party.writeShellScriptBin "tazjins-emacs" ''
   export PATH="${emacsBinPath}:$PATH"