nixpkgs-suyu/pkgs/tools/admin/berglas/default.nix

25 lines
663 B
Nix
Raw Normal View History

2020-03-21 10:44:00 +01:00
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
2019-09-30 14:01:27 +02:00
buildGoModule rec {
2020-03-14 16:54:07 +01:00
pname = "berglas";
version = "0.5.1";
2019-09-30 14:01:27 +02:00
src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
2020-03-14 16:54:07 +01:00
repo = pname;
rev = "v${version}";
sha256 = "0y393g36h35zzqyf5b10j6qq2jhvz83j17cmasnv6wbyrb3vnn0n";
2019-09-30 14:01:27 +02:00
};
2020-03-14 16:54:07 +01:00
modSha256 = "0m2bqx102lf6nihdjbl8a08xcwi80rawvh91j1cav0njm9w5vmmm";
2019-09-30 14:01:27 +02:00
2020-03-21 10:44:00 +01:00
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
2019-09-30 14:01:27 +02:00
meta = with stdenv.lib; {
description = "A tool for managing secrets on Google Cloud";
2020-03-14 16:54:07 +01:00
homepage = "https://github.com/GoogleCloudPlatform/berglas";
2019-09-30 14:01:27 +02:00
license = licenses.asl20;
platforms = platforms.unix;
};
}