browserpass: add testVersion
This commit is contained in:
parent
282edfca5b
commit
61c9837425
|
@ -5,6 +5,8 @@
|
||||||
, gnupg
|
, gnupg
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, autoPatchelfHook
|
, autoPatchelfHook
|
||||||
|
, testers
|
||||||
|
, browserpass
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
|
@ -56,6 +58,11 @@ buildGoModule rec {
|
||||||
ln -s $out/lib/browserpass/hosts/firefox/*.json $out/lib/mozilla/native-messaging-hosts
|
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; {
|
meta = with lib; {
|
||||||
description = "Browserpass native client app";
|
description = "Browserpass native client app";
|
||||||
homepage = "https://github.com/browserpass/browserpass-native";
|
homepage = "https://github.com/browserpass/browserpass-native";
|
||||||
|
|
Loading…
Reference in a new issue