From 08dd76ac5d14cff4fd584f72efcd4a613bbb1f0b Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Tue, 14 Sep 2021 20:24:32 -0300 Subject: [PATCH] emacsPackages.font-lock-plus: 20180101.25 -> 208+unstable=2018-01-01 --- .../elisp-packages/font-lock-plus/default.nix | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/editors/emacs/elisp-packages/font-lock-plus/default.nix b/pkgs/applications/editors/emacs/elisp-packages/font-lock-plus/default.nix index 3cea9ae4ef09..019d241f507b 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/font-lock-plus/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/font-lock-plus/default.nix @@ -1,17 +1,22 @@ -{ fetchurl, lib, trivialBuild, writeText }: +{ lib +, fetchFromGitHub +, trivialBuild +}: trivialBuild { - pname = "font-lock+"; - version = "20180101.25"; + pname = "font-lock-plus"; + version = "208+unstable=2018-01-01"; - src = fetchurl { - url = "https://www.emacswiki.org/emacs/download/font-lock%2b.el?revision=25"; - sha256 = "0197yzn4hbjmw5h3m08264b7zymw63pdafph5f3yzfm50q8p7kp4"; - name = "font-lock+.el"; + src = fetchFromGitHub { + owner = "emacsmirror"; + repo = "font-lock-plus"; + rev = "f2c1ddcd4c9d581bd32be88fad026b49f98b6541"; + hash = "sha256-lFmdVMXIIXZ9ZohAJw5rhxpTv017qIyzmpuKOWDdeJ4="; }; - meta = { - homepage = "https://melpa.org/#/font-lock+"; - license = lib.licenses.gpl2Plus; + meta = with lib; { + homepage = "https://github.com/emacsmirror/font-lock-plus"; + description = "Enhancements to standard library font-lock.el"; + license = licenses.gpl2Plus; }; }