Merge pull request #235999 from figsoda/berglas

This commit is contained in:
figsoda 2023-06-06 15:09:28 -04:00 committed by GitHub
commit 0993cbe382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, testers, berglas }:
let
skipTests = {
@ -38,8 +38,20 @@ buildGoModule rec {
vendorHash = "sha256-qcFS07gma7GVxhdrYca0E6rcczNcZmU8JcjjcpEaxp0=";
ldflags = [
"-s"
"-w"
"-X=github.com/GoogleCloudPlatform/berglas/internal/version.Version=${version}"
];
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";