emacsPackages.cedille: init at 1.0.0

This commit is contained in:
Matthew Pickering 2018-10-13 09:16:57 +00:00
parent 43ae33728b
commit 9e348b4613
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, cedille, emacs }:
stdenv.mkDerivation rec {
name = "cedille-mode-${version}";
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;
};
}

View File

@ -16236,6 +16236,8 @@ with pkgs;
calfw = callPackage ../applications/editors/emacs-modes/calfw { };
cedille = callPackage ../applications/editors/emacs-modes/cedille { cedille = pkgs.cedille; };
coffee = callPackage ../applications/editors/emacs-modes/coffee { };
colorTheme = callPackage ../applications/editors/emacs-modes/color-theme { };