about summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2024-02-17 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2024-02-17 04:20:00 +0000
commit7ff94904c520356b9e57650b87484ddeb4b0826b (patch)
tree8293db107cf451780042e316578ea1b2dabdad05 /pkgs/tools/text
parent94206d770c7ba90290cfeaf7df2b84e44307639d (diff)
downloadnixlib-7ff94904c520356b9e57650b87484ddeb4b0826b.tar
nixlib-7ff94904c520356b9e57650b87484ddeb4b0826b.tar.gz
nixlib-7ff94904c520356b9e57650b87484ddeb4b0826b.tar.bz2
nixlib-7ff94904c520356b9e57650b87484ddeb4b0826b.tar.lz
nixlib-7ff94904c520356b9e57650b87484ddeb4b0826b.tar.xz
nixlib-7ff94904c520356b9e57650b87484ddeb4b0826b.tar.zst
nixlib-7ff94904c520356b9e57650b87484ddeb4b0826b.zip
ugrep: add version tester
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/ugrep/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/text/ugrep/default.nix b/pkgs/tools/text/ugrep/default.nix
index 11af9b30cc73..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";