2018-10-13 09:16:57 +00:00
|
|
|
{ stdenv, cedille, emacs }:
|
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "cedille-mode";
|
2018-10-13 09:16:57 +00:00
|
|
|
version = cedille.version;
|
|
|
|
|
|
|
|
src = cedille.src;
|
|
|
|
|
|
|
|
buildInputs = [ emacs ];
|
|
|
|
|
|
|
|
buildPhase = ":";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -d $out/share/emacs/site-lisp
|
|
|
|
install se-mode/*.el se-mode/*.elc $out/share/emacs/site-lisp
|
|
|
|
install cedille-mode/*.el cedille-mode/*.elc $out/share/emacs/site-lisp
|
|
|
|
install *.el *.elc $out/share/emacs/site-lisp
|
|
|
|
substituteInPlace $out/share/emacs/site-lisp/cedille-mode.el \
|
|
|
|
--replace /usr/bin/cedille ${cedille}/bin/cedille \
|
|
|
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Emacs major mode for Cedille";
|
|
|
|
homepage = cedille.meta.homepage;
|
|
|
|
license = cedille.meta.license ;
|
|
|
|
platforms = cedille.meta.platforms;
|
|
|
|
maintainers = cedille.meta.maintainers;
|
|
|
|
};
|
|
|
|
}
|