From a7cd664d2b5002c974abb62b75785bc984a40966 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 24 May 2023 11:14:34 +0300 Subject: [PATCH] less: 608 -> 633 --- pkgs/tools/misc/less/default.nix | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/pkgs/tools/misc/less/default.nix b/pkgs/tools/misc/less/default.nix index 19f4c455965..76b05723536 100644 --- a/pkgs/tools/misc/less/default.nix +++ b/pkgs/tools/misc/less/default.nix @@ -1,31 +1,21 @@ { lib , stdenv , fetchurl -, fetchpatch , ncurses , pcre2 }: stdenv.mkDerivation rec { pname = "less"; - version = "608"; + version = "633"; # Only tarballs on the website are valid releases, # other versions, e.g. git tags are considered snapshots. src = fetchurl { url = "https://www.greenwoodsoftware.com/less/less-${version}.tar.gz"; - hash = "sha256-ppq+LgoSZ3fgIdO3OqMiLhsmHxDmRiTUHsB5aFpqwgk="; + hash = "sha256-LyAdZLgouIrzbf5s/bo+CBns4uRG6+YiSBMgmq7+0E8="; }; - patches = [ - (fetchpatch { - # https://github.com/advisories/GHSA-5xw7-xf7p-gm82 - name = "CVE-2022-46663.patch"; - url = "https://github.com/gwsw/less/commit/a78e1351113cef564d790a730d657a321624d79c.patch"; - hash = "sha256-gWgCzoMt1WyVJVKYzkMq8HfaTlU1XUtC8fvNFUQT0sI="; - }) - ]; - configureFlags = [ # Look for ‘sysless’ in /etc. "--sysconfdir=/etc"