about summary refs log tree commit diff
path: root/pkgs/tools/text/ugrep/default.nix
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish.is@lostca.se>2023-07-10 08:44:27 +0200
committerAshish SHUKLA <ashish.is@lostca.se>2023-07-11 01:08:40 +0200
commit2cc4331f03642f5c04b3f4e916c1fa439a588ccb (patch)
tree582c0b2f512828f297c0b103e5386ce596eff08e /pkgs/tools/text/ugrep/default.nix
parent2b356dae6208d422236c4cdc48f3bed749f9daea (diff)
downloadnixlib-2cc4331f03642f5c04b3f4e916c1fa439a588ccb.tar
nixlib-2cc4331f03642f5c04b3f4e916c1fa439a588ccb.tar.gz
nixlib-2cc4331f03642f5c04b3f4e916c1fa439a588ccb.tar.bz2
nixlib-2cc4331f03642f5c04b3f4e916c1fa439a588ccb.tar.lz
nixlib-2cc4331f03642f5c04b3f4e916c1fa439a588ccb.tar.xz
nixlib-2cc4331f03642f5c04b3f4e916c1fa439a588ccb.tar.zst
nixlib-2cc4331f03642f5c04b3f4e916c1fa439a588ccb.zip
ugrep: 3.12.1 -> 3.12.2
- Use rec-less, overlay-style overridable recursive attributes (courtesy: NixOS#119942)
Diffstat (limited to 'pkgs/tools/text/ugrep/default.nix')
-rw-r--r--pkgs/tools/text/ugrep/default.nix14
1 files 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;
   };
-}
+})