2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2016-06-04 18:37:12 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2018-03-20 07:25:13 +00:00
|
|
|
name = "hologram-2018-03-19";
|
|
|
|
rev = "a7bab58642b530edb75b9cf6c1d834c85822ceac";
|
2016-06-04 18:37:12 +01:00
|
|
|
|
2018-03-20 07:25:13 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AdRoll";
|
|
|
|
repo = "hologram";
|
2016-06-04 18:37:12 +01:00
|
|
|
inherit rev;
|
2018-03-20 07:25:13 +00:00
|
|
|
sha256 = "00scryz8js6gbw8lp2y23qikbazz2dd992r97rqh0l1q4baa0ckn";
|
2016-06-04 18:37:12 +01:00
|
|
|
};
|
|
|
|
|
2017-02-01 16:26:55 +00:00
|
|
|
goPackagePath = "github.com/AdRoll/hologram";
|
|
|
|
|
2016-09-10 11:04:13 +01:00
|
|
|
goDeps = ./deps.nix;
|
2017-02-01 16:26:55 +00:00
|
|
|
|
2017-07-05 11:21:51 +01:00
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's|cacheTimeout != 3600|cacheTimeout != 0|' cmd/hologram-server/main.go
|
|
|
|
'';
|
|
|
|
|
2017-02-01 16:26:55 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/AdRoll/hologram/";
|
2017-02-01 16:26:55 +00:00
|
|
|
description = "Easy, painless AWS credentials on developer laptops.";
|
|
|
|
maintainers = with maintainers; [ nand0p ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
2016-06-04 18:37:12 +01:00
|
|
|
}
|