summary refs log tree commit diff
path: root/pkgs/tools/admin/berglas/default.nix
blob: d75c317187bd8213281f2abc45fa86c3e42d036e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, buildGoModule, fetchFromGitHub }:

buildGoModule rec {

  name = "berglas-${version}";
  version = "0.2.1";

  src = fetchFromGitHub {
    owner = "GoogleCloudPlatform";
    repo = "berglas";
    rev = "v0.2.1";
    sha256 = "1m34rxiynmgsris1avjn7am50b8sds77515zlnna9qvsrywbzljc";
  };

  modSha256 = "0lfcrsb4r5hxxd652cxff23fnbrphp3lgwp5anpaddzcjcd2qyj8";

  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;
  };
}