forked from mirrors/nixpkgs
Merge pull request #15430 from mdorman/emacs-revert
Revert removal of three hand-maintained emacs packages
This commit is contained in:
commit
5e694aa3b3
30
pkgs/applications/editors/emacs-modes/pcache/default.nix
Normal file
30
pkgs/applications/editors/emacs-modes/pcache/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, fetchgit, emacs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pcache-0.2.3";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/sigma/pcache.git";
|
||||
rev = "fa8f863546e2e8f2fc0a70f5cc766a7f584e01b6";
|
||||
sha256 = "f7cdad5a729b24f96ec69db4adfd19daf45c27aaf3a0267385b252cb2e59daa0";
|
||||
};
|
||||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
buildPhase = ''
|
||||
emacs --batch -f batch-byte-compile pcache.el
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -d $out/share/emacs/site-lisp
|
||||
install pcache.el pcache.elc $out/share/emacs/site-lisp
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Persistent caching for Emacs";
|
||||
homepage = https://github.com/sigma/pcache.el;
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
23
pkgs/applications/editors/emacs-modes/s/default.nix
Normal file
23
pkgs/applications/editors/emacs-modes/s/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{stdenv, fetchurl, emacs}:
|
||||
|
||||
let version = "1.9.0";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "emacs-s-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/magnars/s.el/archive/${version}.tar.gz";
|
||||
sha256 = "1gah2k577gvnmxlpw7zrz0jr571vghzhdv2hbgchlgah07czd091";
|
||||
};
|
||||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
buildPhase = ''
|
||||
emacs -L . --batch -f batch-byte-compile *.el
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -d $out/share/emacs/site-lisp
|
||||
install *.el *.elc $out/share/emacs/site-lisp
|
||||
'';
|
||||
}
|
32
pkgs/applications/editors/emacs-modes/xml-rpc/default.nix
Normal file
32
pkgs/applications/editors/emacs-modes/xml-rpc/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{stdenv, fetchurl, emacs}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xml-rpc-1.6.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = https://launchpadlibrarian.net/40270196/xml-rpc.el;
|
||||
sha256 = "0i8hf90yhrjwqrv7q1f2g1cff6ld8apqkka42fh01wkdys1fbm7b";
|
||||
};
|
||||
|
||||
phases = [ "buildPhase" "installPhase"];
|
||||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
buildPhase = ''
|
||||
cp $src xml-rpc.el
|
||||
emacs --batch -f batch-byte-compile xml-rpc.el
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -d $out/share/emacs/site-lisp
|
||||
install xml-rpc.el* $out/share/emacs/site-lisp
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Elisp implementation of clientside XML-RPC";
|
||||
homepage = https://launchpad.net/xml-rpc-el;
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
|
@ -12340,6 +12340,8 @@ in
|
|||
|
||||
org2blog = callPackage ../applications/editors/emacs-modes/org2blog { };
|
||||
|
||||
pcache = callPackage ../applications/editors/emacs-modes/pcache { };
|
||||
|
||||
phpMode = callPackage ../applications/editors/emacs-modes/php { };
|
||||
|
||||
prologMode = callPackage ../applications/editors/emacs-modes/prolog { };
|
||||
|
@ -12368,6 +12370,8 @@ in
|
|||
|
||||
rudel = callPackage ../applications/editors/emacs-modes/rudel { };
|
||||
|
||||
s = callPackage ../applications/editors/emacs-modes/s { };
|
||||
|
||||
sbtMode = callPackage ../applications/editors/emacs-modes/sbt-mode { };
|
||||
|
||||
scalaMode1 = callPackage ../applications/editors/emacs-modes/scala-mode/v1.nix { };
|
||||
|
@ -12383,6 +12387,8 @@ in
|
|||
|
||||
writeGood = callPackage ../applications/editors/emacs-modes/writegood { };
|
||||
|
||||
xmlRpc = callPackage ../applications/editors/emacs-modes/xml-rpc { };
|
||||
|
||||
cask = callPackage ../applications/editors/emacs-modes/cask { };
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue