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";
|
2023-02-17 03:44:32 +00:00
|
|
|
version = "1.3";
|
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;
|
2023-02-17 03:44:32 +00:00
|
|
|
hash = "sha256-b65mplfDuwk8lEfJLKBY7BF0yGRksxHjwbEW6A7moo4=";
|
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
|
|
|
'';
|
|
|
|
|
2023-02-17 03:44:32 +00:00
|
|
|
vendorHash = "sha256-HI5+02qSQVLy6ZKaFjy1bWtvVk5bqMBg1umu2ic5HuY=";
|
2022-04-16 01:41:41 +00:00
|
|
|
|
|
|
|
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";
|
2023-09-23 12:35:29 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-02-01 16:26:55 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
2016-06-04 17:37:12 +00:00
|
|
|
}
|