2021-01-19 12:10:44 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2009-11-27 17:40:56 +00:00
|
|
|
|
2013-04-12 20:33:37 +01:00
|
|
|
stdenv.mkDerivation {
|
2020-11-02 01:08:16 +00:00
|
|
|
pname = "prolog-mode";
|
|
|
|
version = "1.28";
|
2013-04-12 20:33:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://bruda.ca/_media/emacs/prolog.el";
|
2020-11-02 01:08:16 +00:00
|
|
|
sha256 = "oCMzks4xuor8Il8Ll8PXh1zIvMl5qN0RCFJ9yKiHOHU=";
|
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 = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://bruda.ca/emacs/prolog_mode_for_emacs/";
|
2009-11-27 17:40:56 +00:00
|
|
|
description = "Prolog mode for Emacs";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2009-11-27 17:40:56 +00:00
|
|
|
};
|
|
|
|
}
|