mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #235999 from figsoda/berglas
This commit is contained in:
commit
0993cbe382
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user