3
0
Fork 0
forked from mirrors/nixpkgs

emacs-packages: Remove s from old emacs package infrastructure

This commit is contained in:
adisbladis 2019-08-18 17:02:44 +01:00
parent e7f24e0143
commit 7385a605f0
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7

View file

@ -1,23 +0,0 @@
{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
'';
}