berglas: add version test

This commit is contained in:
figsoda 2023-06-04 22:30:39 -04:00
parent 1db6ed0885
commit c9d6b8a2ba

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, testers, berglas }:
let
skipTests = {
@ -46,6 +46,12 @@ buildGoModule rec {
postPatch = skipTestsCommand;
passthru.tests = {
version = testers.testVersion {
package = berglas;
};
};
meta = with lib; {
description = "A tool for managing secrets on Google Cloud";
homepage = "https://github.com/GoogleCloudPlatform/berglas";