From cc2409702965300d00ca39f0b74d2f5474b5a476 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 3 Jun 2020 02:30:30 +0100 Subject: feat(3p/emacs): Check in derivation for explain-pause-mode This mode makes it possible to track down slowness in Emacs functions across the board. https://github.com/lastquestion/explain-pause-mode Very useful for some things I need to debug ... --- third_party/emacs/explain-pause-mode.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 third_party/emacs/explain-pause-mode.nix (limited to 'third_party/emacs') 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"; + }; +} -- cgit 1.4.1