From 1da2983cbd4baa81f5c7f7e89bd20a9a09b38691 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Mon, 2 Dec 2024 11:41:00 +0900 Subject: [PATCH] gopass: add passthru.tests.version --- pkgs/tools/security/gopass/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/security/gopass/default.nix b/pkgs/tools/security/gopass/default.nix index 56281de02ee4e..e88eb4eb73985 100644 --- a/pkgs/tools/security/gopass/default.nix +++ b/pkgs/tools/security/gopass/default.nix @@ -10,7 +10,9 @@ xclip, wl-clipboard, passAlias ? false, + testers, nix-update-script, + gopass, }: buildGoModule rec { @@ -69,6 +71,10 @@ buildGoModule rec { passthru = { inherit wrapperPath; + tests.version = testers.testVersion { + package = gopass; + }; + updateScript = nix-update-script { }; };