1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 20:36:27 +00:00
nixpkgs/pkgs/applications/editors/emacs-modes/cedille/default.nix
2018-10-14 19:17:37 +00:00

31 lines
818 B
Nix

{ 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;
};
}