Merge pull request #81061 from leungbk/emacs-pkgs

Add Emacs packages:

- apheleia
- evil-markdown
- git-undo
- isearch-prop
- mu4e-patch
- youtube-dl

authored by Anderson Torres and committed by GitHub fbfb7940 c850d5a5

+278
+36
pkgs/applications/editors/emacs/elisp-packages/apheleia/default.nix
··· 1 + { stdenv, fetchFromGitHub, emacs, lib }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "apheleia"; 5 + version = "2021-05-23"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "raxod502"; 9 + repo = "apheleia"; 10 + rev = "f865c165dac606187a66b2b25a57d5099b452120"; 11 + sha256 = "sha256-n37jJsNOGhSjUtQysG3NVIjjayhbOa52iTXBc8SyKXE="; 12 + }; 13 + 14 + buildInputs = [ emacs ]; 15 + 16 + buildPhase = '' 17 + runHook preBuild 18 + emacs -L . --batch -f batch-byte-compile *.el 19 + runHook postBuild 20 + ''; 21 + 22 + installPhase = '' 23 + runHook preInstall 24 + install -d $out/share/emacs/site-lisp 25 + install *.el *.elc $out/share/emacs/site-lisp 26 + runHook postInstall 27 + ''; 28 + 29 + meta = { 30 + description = "Reformat buffer stably"; 31 + homepage = "https://github.com/raxod502/apheleia"; 32 + license = lib.licenses.mit; 33 + maintainers = with lib.maintainers; [ leungbk ]; 34 + platforms = emacs.meta.platforms; 35 + }; 36 + }
+46
pkgs/applications/editors/emacs/elisp-packages/evil-markdown/default.nix
··· 1 + { stdenv, fetchFromGitHub, emacs, emacsPackages, lib }: 2 + 3 + let 4 + runtimeDeps = with emacsPackages; [ 5 + evil 6 + markdown-mode 7 + ]; 8 + in 9 + stdenv.mkDerivation { 10 + pname = "evil-markdown"; 11 + version = "2020-06-01"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "Somelauw"; 15 + repo = "evil-markdown"; 16 + rev = "064fe9b4767470472356d20bdd08e2f30ebbc9ac"; 17 + sha256 = "sha256-Kt2wxG1XCFowavVWtj0urM/yURKegonpZcxTy/+CrJY="; 18 + }; 19 + 20 + buildInputs = [ 21 + emacs 22 + ] ++ runtimeDeps; 23 + 24 + propagatedUserEnvPkgs = runtimeDeps; 25 + 26 + buildPhase = '' 27 + runHook preBuild 28 + emacs -L . --batch -f batch-byte-compile *.el 29 + runHook postBuild 30 + ''; 31 + 32 + installPhase = '' 33 + runHook preInstall 34 + install -d $out/share/emacs/site-lisp 35 + install *.el *.elc $out/share/emacs/site-lisp 36 + runHook postInstall 37 + ''; 38 + 39 + meta = { 40 + description = "Vim-like keybindings for markdown-mode"; 41 + homepage = "https://github.com/Somelauw/evil-markdown"; 42 + license = lib.licenses.gpl3Plus; 43 + maintainers = with lib.maintainers; [ leungbk ]; 44 + platforms = emacs.meta.platforms; 45 + }; 46 + }
+36
pkgs/applications/editors/emacs/elisp-packages/git-undo/default.nix
··· 1 + { stdenv, fetchFromGitHub, emacs, lib }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "git-undo"; 5 + version = "2019-10-13"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "jwiegley"; 9 + repo = "git-undo-el"; 10 + rev = "cf31e38e7889e6ade7d2d2b9f8719fd44f52feb5"; 11 + sha256 = "sha256-cVkK9EF6qQyVV3uVqnBEjF8e9nEx/8ixnM8PvxqCyYE="; 12 + }; 13 + 14 + buildInputs = [ emacs ]; 15 + 16 + buildPhase = '' 17 + runHook preBuild 18 + emacs -L . --batch -f batch-byte-compile *.el 19 + runHook postBuild 20 + ''; 21 + 22 + installPhase = '' 23 + runHook preInstall 24 + install -d $out/share/emacs/site-lisp 25 + install *.el *.elc $out/share/emacs/site-lisp 26 + runHook postInstall 27 + ''; 28 + 29 + meta = { 30 + description = "Revert region to most recent Git-historical version"; 31 + homepage = "https://github.com/jwiegley/git-undo-el"; 32 + license = lib.licenses.gpl2Plus; 33 + maintainers = with lib.maintainers; [ leungbk ]; 34 + platforms = emacs.meta.platforms; 35 + }; 36 + }
+36
pkgs/applications/editors/emacs/elisp-packages/isearch-plus/default.nix
··· 1 + { stdenv, fetchFromGitHub, emacs, lib }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "isearch-plus"; 5 + version = "2021-01-01"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "emacsmirror"; 9 + repo = "isearch-plus"; 10 + rev = "376a8f9f8a9666d7e61d125abcdb645847cb8619"; 11 + sha256 = "sha256-Kd5vpu+mI1tJPcsu7EpnnBcPVdVAijkAeTz+bLB3WlQ="; 12 + }; 13 + 14 + buildInputs = [ emacs ]; 15 + 16 + buildPhase = '' 17 + runHook preBuild 18 + emacs -L . --batch -f batch-byte-compile *.el 19 + runHook postBuild 20 + ''; 21 + 22 + installPhase = '' 23 + runHook preInstall 24 + install -d $out/share/emacs/site-lisp 25 + install *.el *.elc $out/share/emacs/site-lisp 26 + runHook postInstall 27 + ''; 28 + 29 + meta = { 30 + description = "Extensions to isearch"; 31 + homepage = "https://www.emacswiki.org/emacs/download/isearch%2b.el"; 32 + license = lib.licenses.gpl2Plus; 33 + maintainers = with lib.maintainers; [ leungbk ]; 34 + platforms = emacs.meta.platforms; 35 + }; 36 + }
+36
pkgs/applications/editors/emacs/elisp-packages/isearch-prop/default.nix
··· 1 + { stdenv, fetchFromGitHub, emacs, lib }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "isearch-prop"; 5 + version = "2019-05-01"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "emacsmirror"; 9 + repo = "isearch-prop"; 10 + rev = "4a2765f835dd115d472142da05215c4c748809f4"; 11 + sha256 = "sha256-A1Kt4nm7iRV9J5yaLupwiNL5g7ddZvQs79dggmqZ7Rk="; 12 + }; 13 + 14 + buildInputs = [ emacs ]; 15 + 16 + buildPhase = '' 17 + runHook preBuild 18 + emacs -L . --batch -f batch-byte-compile *.el 19 + runHook postBuild 20 + ''; 21 + 22 + installPhase = '' 23 + runHook preInstall 24 + install -d $out/share/emacs/site-lisp 25 + install *.el *.elc $out/share/emacs/site-lisp 26 + runHook postInstall 27 + ''; 28 + 29 + meta = { 30 + description = "Search text- or overlay-property contexts"; 31 + homepage = "https://www.emacswiki.org/emacs/download/isearch-prop.el"; 32 + license = lib.licenses.gpl3Plus; 33 + maintainers = with lib.maintainers; [ leungbk ]; 34 + platforms = emacs.meta.platforms; 35 + }; 36 + }
+14
pkgs/applications/editors/emacs/elisp-packages/manual-packages.nix
··· 65 65 }; 66 66 }; 67 67 68 + apheleia = callPackage ./apheleia {}; 69 + 68 70 emacspeak = callPackage ./emacspeak {}; 69 71 70 72 ess-R-object-popup = 71 73 callPackage ./ess-R-object-popup { }; 74 + 75 + evil-markdown = callPackage ./evil-markdown { }; 72 76 73 77 font-lock-plus = callPackage ./font-lock-plus { }; 74 78 ··· 88 92 }; 89 93 }; 90 94 95 + git-undo = callPackage ./git-undo { }; 96 + 91 97 haskell-unicode-input-method = melpaBuild { 92 98 pname = "emacs-haskell-unicode-input-method"; 93 99 version = "20110905.2307"; ··· 111 117 112 118 helm-words = callPackage ./helm-words { }; 113 119 120 + isearch-plus = callPackage ./isearch-plus { }; 121 + 122 + isearch-prop = callPackage ./isearch-prop { }; 123 + 114 124 jam-mode = callPackage ./jam-mode { }; 115 125 116 126 llvm-mode = trivialBuild { ··· 177 187 178 188 }; 179 189 190 + mu4e-patch = callPackage ./mu4e-patch { }; 191 + 180 192 org-mac-link = 181 193 callPackage ./org-mac-link { }; 182 194 ··· 205 217 sv-kalender = callPackage ./sv-kalender { }; 206 218 207 219 tramp = callPackage ./tramp { }; 220 + 221 + youtube-dl = callPackage ./youtube-dl { }; 208 222 209 223 zeitgeist = callPackage ./zeitgeist { }; 210 224
+38
pkgs/applications/editors/emacs/elisp-packages/mu4e-patch/default.nix
··· 1 + { stdenv, fetchFromGitHub, emacs, lib }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "mu4e-patch"; 5 + version = "2019-05-09"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "seanfarley"; 9 + repo = "mu4e-patch"; 10 + rev = "522da46c1653b1cacc79cde91d6534da7ae9517d"; 11 + sha256 = "sha256-1lV4dDuCdyCUXi/In2DzYJPEHuAc9Jfbz2ZecNZwn4I="; 12 + }; 13 + 14 + buildInputs = [ 15 + emacs 16 + ]; 17 + 18 + buildPhase = '' 19 + runHook preBuild 20 + emacs -L . --batch -f batch-byte-compile *.el 21 + runHook postBuild 22 + ''; 23 + 24 + installPhase = '' 25 + runHook preInstall 26 + install -d $out/share/emacs/site-lisp 27 + install *.el *.elc $out/share/emacs/site-lisp 28 + runHook postInstall 29 + ''; 30 + 31 + meta = { 32 + description = "Colorize patch emails in mu4e"; 33 + homepage = "https://github.com/seanfarley/mu4e-patch"; 34 + license = lib.licenses.gpl3Plus; 35 + maintainers = with lib.maintainers; [ leungbk ]; 36 + platforms = emacs.meta.platforms; 37 + }; 38 + }
+36
pkgs/applications/editors/emacs/elisp-packages/youtube-dl/default.nix
··· 1 + { stdenv, fetchFromGitHub, emacs, lib }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "youtube-dl"; 5 + version = "2018-10-12"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "skeeto"; 9 + repo = "youtube-dl-emacs"; 10 + rev = "af877b5bc4f01c04fccfa7d47a2c328926f20ef4"; 11 + sha256 = "sha256-Etl95rcoRACDPjcTPQqYK2L+w8OZbOrTrRT0JadMdH4="; 12 + }; 13 + 14 + buildInputs = [ emacs ]; 15 + 16 + buildPhase = '' 17 + runHook preBuild 18 + emacs -L . --batch -f batch-byte-compile *.el 19 + runHook postBuild 20 + ''; 21 + 22 + installPhase = '' 23 + runHook preInstall 24 + install -d $out/share/emacs/site-lisp 25 + install *.el *.elc $out/share/emacs/site-lisp 26 + runHook postInstall 27 + ''; 28 + 29 + meta = { 30 + description = "Emacs frontend to the youtube-dl utility"; 31 + homepage = "https://github.com/skeeto/youtube-dl-emacs"; 32 + license = lib.licenses.unlicense; 33 + maintainers = with lib.maintainers; [ leungbk ]; 34 + platforms = emacs.meta.platforms; 35 + }; 36 + }