nixpkgs-suyu/pkgs/applications/editors/emacs-modes/prolog/default.nix
freezeboy 6e386e1c46 emacs26Packages.prolog-mode: unbreak
Unfortunately this package doesn't contain the version number in the URL
so it might break easily again, but it is just a matter of updating the
sha256
2020-11-02 02:09:27 +01:00

22 lines
514 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation {
pname = "prolog-mode";
version = "1.28";
src = fetchurl {
url = "http://bruda.ca/_media/emacs/prolog.el";
sha256 = "oCMzks4xuor8Il8Ll8PXh1zIvMl5qN0RCFJ9yKiHOHU=";
};
buildCommand = ''
mkdir -p $out/share/emacs/site-lisp/
cp $src $out/share/emacs/site-lisp/prolog.el
'';
meta = {
homepage = "http://bruda.ca/emacs/prolog_mode_for_emacs/";
description = "Prolog mode for Emacs";
license = stdenv.lib.licenses.gpl2Plus;
};
}