2021-01-19 13:10:44 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2009-11-27 18:40:56 +01:00
|
|
|
|
2013-04-12 21:33:37 +02:00
|
|
|
stdenv.mkDerivation {
|
2020-11-02 02:08:16 +01:00
|
|
|
pname = "prolog-mode";
|
|
|
|
version = "1.28";
|
2013-04-12 21:33:37 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://bruda.ca/_media/emacs/prolog.el";
|
2020-11-02 02:08:16 +01:00
|
|
|
sha256 = "oCMzks4xuor8Il8Ll8PXh1zIvMl5qN0RCFJ9yKiHOHU=";
|
2009-11-27 18:40:56 +01:00
|
|
|
};
|
|
|
|
|
2013-04-12 21:33:37 +02:00
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out/share/emacs/site-lisp/
|
|
|
|
cp $src $out/share/emacs/site-lisp/prolog.el
|
|
|
|
'';
|
2009-11-27 18:40:56 +01:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://bruda.ca/emacs/prolog_mode_for_emacs/";
|
2009-11-27 18:40:56 +01:00
|
|
|
description = "Prolog mode for Emacs";
|
2021-01-15 14:21:58 +01:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2009-11-27 18:40:56 +01:00
|
|
|
};
|
|
|
|
}
|