2013-04-12 20:33:37 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2009-11-27 17:40:56 +00:00
|
|
|
|
2013-04-12 20:33:37 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "prolog-mode-1.25";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://bruda.ca/_media/emacs/prolog.el";
|
|
|
|
sha256 = "0hfd2dr3xc5qxgvc08nkb2l5a05hfldahdc6ymi9vd8798cc46yh";
|
2009-11-27 17:40:56 +00:00
|
|
|
};
|
|
|
|
|
2013-04-12 20:33:37 +01:00
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out/share/emacs/site-lisp/
|
|
|
|
cp $src $out/share/emacs/site-lisp/prolog.el
|
|
|
|
'';
|
2009-11-27 17:40:56 +00:00
|
|
|
|
|
|
|
meta = {
|
2013-04-12 20:33:37 +01:00
|
|
|
homepage = "http://bruda.ca/emacs/prolog_mode_for_emacs/";
|
2009-11-27 17:40:56 +00:00
|
|
|
description = "Prolog mode for Emacs";
|
2013-04-12 20:33:37 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2009-11-27 17:40:56 +00:00
|
|
|
};
|
|
|
|
}
|