about summary refs log tree commit diff
path: root/pkgs/applications/file-managers/ranger
diff options
context:
space:
mode:
authorAustin Horstman <khaneliman12@gmail.com>2023-09-18 14:58:14 -0500
committerGitHub <noreply@github.com>2023-09-18 22:58:14 +0300
commitad07cd4fc2e37cdeca8f6b920f4d955fa280f595 (patch)
tree08ec710fe945cce33e59770b5b6d221bfe45dce8 /pkgs/applications/file-managers/ranger
parentba26780794642b18e46f255dd709e7a0c3704c08 (diff)
treewide: add version tests (#255781)
Diffstat (limited to 'pkgs/applications/file-managers/ranger')
-rw-r--r--pkgs/applications/file-managers/ranger/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/file-managers/ranger/default.nix b/pkgs/applications/file-managers/ranger/default.nix
index 96d43dc8f247f..4906a06123c80 100644
--- a/pkgs/applications/file-managers/ranger/default.nix
+++ b/pkgs/applications/file-managers/ranger/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchFromGitHub, python3Packages, file, less, highlight, w3m
+{ lib, fetchFromGitHub, python3Packages, file, less, highlight, w3m, ranger, testers
 , imagePreviewSupport ? true
 , neoVimSupport ? true
 , improvedEncodingDetection ? true
@@ -49,6 +49,10 @@ python3Packages.buildPythonApplication rec {
       --replace "set preview_images false" "set preview_images true"
   '';
 
+  passthru.tests.version = testers.testVersion {
+    package = ranger;
+  };
+
   meta =  with lib; {
     description = "File manager with minimalistic curses interface";
     homepage = "https://ranger.github.io/";