diff --git a/pkgs/tools/text/ugrep/default.nix b/pkgs/tools/text/ugrep/default.nix index 8d1288bae8b7..4dfd4c31c5f1 100644 --- a/pkgs/tools/text/ugrep/default.nix +++ b/pkgs/tools/text/ugrep/default.nix @@ -7,6 +7,7 @@ , bzip3 , lz4 , pcre2 +, testers , xz , zlib , zstd @@ -35,6 +36,12 @@ stdenv.mkDerivation (finalAttrs: { zstd ]; + passthru.tests = { + version = testers.testVersion { + package = finalAttrs.finalPackage; + }; + }; + meta = with lib; { description = "Ultra fast grep with interactive query UI"; homepage = "https://github.com/Genivia/ugrep"; @@ -42,5 +49,6 @@ stdenv.mkDerivation (finalAttrs: { maintainers = with maintainers; [ numkem mikaelfangel ]; license = licenses.bsd3; platforms = platforms.all; + mainProgram = "ug"; }; })