browserpass: add testVersion
This commit is contained in:
parent
282edfca5b
commit
61c9837425
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue