emacs-s: add version 1.9.0
This commit is contained in:
parent
a4ec7a6316
commit
e8bff6f838
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
|
||||
'';
|
||||
}
|
@ -8739,6 +8739,8 @@ let
|
||||
|
||||
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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user