summary refs log tree commit diff
path: root/pkgs/tools/security/hologram/default.nix
blob: c4e90bd94bb29f6031bbe68a806255584661ca5e (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
24
25
26
27
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "hologram";
  version = "2018-03-19";
  rev = "a7bab58642b530edb75b9cf6c1d834c85822ceac";

  src = fetchFromGitHub {
    owner = "AdRoll";
    repo = "hologram";
    inherit rev;
    sha256 = "00scryz8js6gbw8lp2y23qikbazz2dd992r97rqh0l1q4baa0ckn";
  };

  goPackagePath = "github.com/AdRoll/hologram";

  preConfigure = ''
    sed -i 's|cacheTimeout != 3600|cacheTimeout != 0|' cmd/hologram-server/main.go
  '';

  meta = with lib; {
    homepage = "https://github.com/AdRoll/hologram/";
    description = "Easy, painless AWS credentials on developer laptops";
    maintainers = with maintainers; [ ];
    license = licenses.asl20;
  };
}