aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/admin/berglas/default.nix
blob: 239fc9691f7e117d23ae0e817ee3262397e153b1 (plain)
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.0";

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

  modSha256 = "0fvgvrvdpdwjx51wmbf0rdwnr9l1l212qbvznvif3xsi5nnlkx6r";

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