Merge pull request #15430 from mdorman/emacs-revert

Revert removal of three hand-maintained emacs packages

+91
+30
pkgs/applications/editors/emacs-modes/pcache/default.nix
··· 1 + { stdenv, fetchgit, emacs }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "pcache-0.2.3"; 5 + 6 + src = fetchgit { 7 + url = "https://github.com/sigma/pcache.git"; 8 + rev = "fa8f863546e2e8f2fc0a70f5cc766a7f584e01b6"; 9 + sha256 = "f7cdad5a729b24f96ec69db4adfd19daf45c27aaf3a0267385b252cb2e59daa0"; 10 + }; 11 + 12 + buildInputs = [ emacs ]; 13 + 14 + buildPhase = '' 15 + emacs --batch -f batch-byte-compile pcache.el 16 + ''; 17 + 18 + installPhase = '' 19 + install -d $out/share/emacs/site-lisp 20 + install pcache.el pcache.elc $out/share/emacs/site-lisp 21 + ''; 22 + 23 + meta = { 24 + description = "Persistent caching for Emacs"; 25 + homepage = https://github.com/sigma/pcache.el; 26 + license = stdenv.lib.licenses.gpl2Plus; 27 + 28 + platforms = stdenv.lib.platforms.all; 29 + }; 30 + }
+23
pkgs/applications/editors/emacs-modes/s/default.nix
··· 1 + {stdenv, fetchurl, emacs}: 2 + 3 + let version = "1.9.0"; 4 + 5 + in stdenv.mkDerivation { 6 + name = "emacs-s-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://github.com/magnars/s.el/archive/${version}.tar.gz"; 10 + sha256 = "1gah2k577gvnmxlpw7zrz0jr571vghzhdv2hbgchlgah07czd091"; 11 + }; 12 + 13 + buildInputs = [ emacs ]; 14 + 15 + buildPhase = '' 16 + emacs -L . --batch -f batch-byte-compile *.el 17 + ''; 18 + 19 + installPhase = '' 20 + install -d $out/share/emacs/site-lisp 21 + install *.el *.elc $out/share/emacs/site-lisp 22 + ''; 23 + }
+32
pkgs/applications/editors/emacs-modes/xml-rpc/default.nix
··· 1 + {stdenv, fetchurl, emacs}: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "xml-rpc-1.6.8"; 5 + 6 + src = fetchurl { 7 + url = https://launchpadlibrarian.net/40270196/xml-rpc.el; 8 + sha256 = "0i8hf90yhrjwqrv7q1f2g1cff6ld8apqkka42fh01wkdys1fbm7b"; 9 + }; 10 + 11 + phases = [ "buildPhase" "installPhase"]; 12 + 13 + buildInputs = [ emacs ]; 14 + 15 + buildPhase = '' 16 + cp $src xml-rpc.el 17 + emacs --batch -f batch-byte-compile xml-rpc.el 18 + ''; 19 + 20 + installPhase = '' 21 + install -d $out/share/emacs/site-lisp 22 + install xml-rpc.el* $out/share/emacs/site-lisp 23 + ''; 24 + 25 + meta = { 26 + description = "Elisp implementation of clientside XML-RPC"; 27 + homepage = https://launchpad.net/xml-rpc-el; 28 + license = stdenv.lib.licenses.gpl3Plus; 29 + 30 + platforms = stdenv.lib.platforms.all; 31 + }; 32 + }
+6
pkgs/top-level/all-packages.nix
··· 12340 12340 12341 12341 org2blog = callPackage ../applications/editors/emacs-modes/org2blog { }; 12342 12342 12343 + pcache = callPackage ../applications/editors/emacs-modes/pcache { }; 12344 + 12343 12345 phpMode = callPackage ../applications/editors/emacs-modes/php { }; 12344 12346 12345 12347 prologMode = callPackage ../applications/editors/emacs-modes/prolog { }; ··· 12368 12370 12369 12371 rudel = callPackage ../applications/editors/emacs-modes/rudel { }; 12370 12372 12373 + s = callPackage ../applications/editors/emacs-modes/s { }; 12374 + 12371 12375 sbtMode = callPackage ../applications/editors/emacs-modes/sbt-mode { }; 12372 12376 12373 12377 scalaMode1 = callPackage ../applications/editors/emacs-modes/scala-mode/v1.nix { }; ··· 12382 12386 tuaregMode = callPackage ../applications/editors/emacs-modes/tuareg { }; 12383 12387 12384 12388 writeGood = callPackage ../applications/editors/emacs-modes/writegood { }; 12389 + 12390 + xmlRpc = callPackage ../applications/editors/emacs-modes/xml-rpc { }; 12385 12391 12386 12392 cask = callPackage ../applications/editors/emacs-modes/cask { }; 12387 12393 };