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

25 lines
558 B
Nix

{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "berglas";
version = "0.5.1";
src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = pname;
rev = "v${version}";
sha256 = "0y393g36h35zzqyf5b10j6qq2jhvz83j17cmasnv6wbyrb3vnn0n";
};
vendorSha256 = null;
doCheck = false;
meta = with stdenv.lib; {
description = "A tool for managing secrets on Google Cloud";
homepage = "https://github.com/GoogleCloudPlatform/berglas";
license = licenses.asl20;
platforms = platforms.unix;
};
}