diff options
author | Austin Horstman <khaneliman12@gmail.com> | 2023-09-18 14:58:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-18 22:58:14 +0300 |
commit | ad07cd4fc2e37cdeca8f6b920f4d955fa280f595 (patch) | |
tree | 08ec710fe945cce33e59770b5b6d221bfe45dce8 /pkgs/applications/misc/1password | |
parent | ba26780794642b18e46f255dd709e7a0c3704c08 (diff) |
treewide: add version tests (#255781)
Diffstat (limited to 'pkgs/applications/misc/1password')
-rw-r--r-- | pkgs/applications/misc/1password/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/misc/1password/default.nix b/pkgs/applications/misc/1password/default.nix index d4dddd861f293..a4f0b957c9918 100644 --- a/pkgs/applications/misc/1password/default.nix +++ b/pkgs/applications/misc/1password/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, fetchzip, autoPatchelfHook, installShellFiles, cpio, xar }: +{ lib, stdenv, fetchurl, fetchzip, autoPatchelfHook, installShellFiles, cpio, xar, _1password, testers }: let inherit (stdenv.hostPlatform) system; @@ -63,6 +63,10 @@ stdenv.mkDerivation { $out/bin/${mainProgram} --version ''; + passthru.tests.version = testers.testVersion { + package = _1password; + }; + meta = with lib; { description = "1Password command-line tool"; homepage = "https://developer.1password.com/docs/cli/"; |