browserpass: add testVersion
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
, gnupg
|
||||
, makeWrapper
|
||||
, autoPatchelfHook
|
||||
, testers
|
||||
, browserpass
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@@ -56,6 +58,11 @@ buildGoModule rec {
|
||||
ln -s $out/lib/browserpass/hosts/firefox/*.json $out/lib/mozilla/native-messaging-hosts
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = browserpass;
|
||||
command = "browserpass --version";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Browserpass native client app";
|
||||
homepage = "https://github.com/browserpass/browserpass-native";
|
||||
|
||||
Reference in New Issue
Block a user