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
This commit is contained in:
freezeboy 2020-11-02 02:08:16 +01:00
parent ee3acf3aa4
commit 6e386e1c46
1 changed files with 3 additions and 5 deletions

View File

@ -1,11 +1,12 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "prolog-mode-1.25";
pname = "prolog-mode";
version = "1.28";
src = fetchurl {
url = "http://bruda.ca/_media/emacs/prolog.el";
sha256 = "0hfd2dr3xc5qxgvc08nkb2l5a05hfldahdc6ymi9vd8798cc46yh";
sha256 = "oCMzks4xuor8Il8Ll8PXh1zIvMl5qN0RCFJ9yKiHOHU=";
};
buildCommand = ''
@ -17,8 +18,5 @@ stdenv.mkDerivation {
homepage = "http://bruda.ca/emacs/prolog_mode_for_emacs/";
description = "Prolog mode for Emacs";
license = stdenv.lib.licenses.gpl2Plus;
# Has wrong sha256
broken = true;
};
}