From 2cc4331f03642f5c04b3f4e916c1fa439a588ccb Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Mon, 10 Jul 2023 08:44:27 +0200 Subject: [PATCH] ugrep: 3.12.1 -> 3.12.2 - Use rec-less, overlay-style overridable recursive attributes (courtesy: NixOS#119942) --- pkgs/tools/text/ugrep/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/text/ugrep/default.nix b/pkgs/tools/text/ugrep/default.nix index 68a960f20312..6bbe4fac2a31 100644 --- a/pkgs/tools/text/ugrep/default.nix +++ b/pkgs/tools/text/ugrep/default.nix @@ -9,15 +9,15 @@ , zlib }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "ugrep"; - version = "3.12.1"; + version = "3.12.2"; src = fetchFromGitHub { owner = "Genivia"; - repo = pname; - rev = "v${version}"; - hash = "sha256-kpLzv8nHye1XStHABmZHXQ2Gn+g06BFeN3u47bkKbzU="; + repo = "ugrep"; + rev = "v${finalAttrs.version}"; + hash = "sha256-h5BMqv8gv+e7pBSyQva5lmH83lxSnu86BF3KwziFdps="; }; buildInputs = [ @@ -32,9 +32,9 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Ultra fast grep with interactive query UI"; homepage = "https://github.com/Genivia/ugrep"; - changelog = "https://github.com/Genivia/ugrep/releases/tag/v${version}"; + changelog = "https://github.com/Genivia/ugrep/releases/tag/v${finalAttrs.version}"; maintainers = with maintainers; [ numkem ]; license = licenses.bsd3; platforms = platforms.all; }; -} +})