2022-04-16 01:41:41 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-06-04 17:37:12 +00:00
|
|
|
|
2022-04-16 01:41:41 +00:00
|
|
|
buildGoModule rec {
|
2021-07-27 14:21:24 +00:00
|
|
|
pname = "hologram";
|
2022-04-16 01:41:41 +00:00
|
|
|
version = "1.2.1";
|
2016-06-04 17:37:12 +00:00
|
|
|
|
2018-03-20 07:25:13 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AdRoll";
|
|
|
|
repo = "hologram";
|
2022-04-16 01:41:41 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-rdV/oVo+M5ALyU3a3XlA4kt+TLg0Rnr7/qDyZ9iuIb4=";
|
2016-06-04 17:37:12 +00:00
|
|
|
};
|
|
|
|
|
2022-04-16 01:41:41 +00:00
|
|
|
postPatch = ''
|
2017-07-05 10:21:51 +00:00
|
|
|
sed -i 's|cacheTimeout != 3600|cacheTimeout != 0|' cmd/hologram-server/main.go
|
2022-04-16 01:41:41 +00:00
|
|
|
|
|
|
|
rm -f agent/metadata_service_test.go server/persistent_ldap_test.go server/server_test.go
|
2017-07-05 10:21:51 +00:00
|
|
|
'';
|
|
|
|
|
2022-04-16 01:41:41 +00:00
|
|
|
vendorSha256 = "sha256-pEYMpBiNbq5eSDiFT+9gMjGHDeTzWIej802Zz6Xtays=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/AdRoll/hologram/";
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "Easy, painless AWS credentials on developer laptops";
|
2021-05-14 14:00:41 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-02-01 16:26:55 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
2016-06-04 17:37:12 +00:00
|
|
|
}
|