emacsPackages.emacs-libvterm: init at unstable-2017-11-24

This commit is contained in:
adisbladis 2018-05-16 13:56:13 +08:00
parent 3290800d67
commit 149a0dc1ff
No known key found for this signature in database
GPG key ID: ED58F95069B004F5
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ stdenv, fetchFromGitHub, cmake, emacs, neovim-libvterm }:
let
emacsSources = stdenv.mkDerivation {
name = emacs.name + "-sources";
src = emacs.src;
configurePhase = ":";
dontBuild = true;
doCheck = false;
fixupPhase = ":";
installPhase = ''
mkdir -p $out
cp -a * $out
'';
};
in stdenv.mkDerivation rec {
name = "emacs-libvterm-${version}";
version = "unstable-2017-11-24";
src = fetchFromGitHub {
owner = "akermu";
repo = "emacs-libvterm";
rev = "829ae86f60c3a54048804997edffa161c77a2f4b";
sha256 = "1xb24kpvypvskh4vr3b45nl2m2vsczcr9rnsr2sjzf32mnapyjnp";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ emacs neovim-libvterm ];
cmakeFlags = [ "-DEMACS_SOURCE=${emacsSources}" ];
installPhase = ''
install -d $out/share/emacs/site-lisp
install ../*.el $out/share/emacs/site-lisp
install ../*.so $out/share/emacs/site-lisp
'';
}

View file

@ -178,6 +178,8 @@ let
};
};
emacs-libvterm = callPackage ../applications/editors/emacs-modes/emacs-libvterm { };
evil-jumper = melpaBuild rec {
pname = "evil-jumper";
version = "20151017";