hologram: unstable-2018-03-19 -> 1.2.1

This commit is contained in:
Aaron Jheng 2022-04-16 01:41:41 +00:00
parent 90f39639c3
commit 842e54b067
No known key found for this signature in database
GPG key ID: F6A547A869D050A3

View file

@ -1,22 +1,26 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "hologram";
version = "unstable-2018-03-19";
version = "1.2.1";
src = fetchFromGitHub {
owner = "AdRoll";
repo = "hologram";
rev = "a7bab58642b530edb75b9cf6c1d834c85822ceac";
sha256 = "00scryz8js6gbw8lp2y23qikbazz2dd992r97rqh0l1q4baa0ckn";
rev = version;
sha256 = "sha256-rdV/oVo+M5ALyU3a3XlA4kt+TLg0Rnr7/qDyZ9iuIb4=";
};
goPackagePath = "github.com/AdRoll/hologram";
preConfigure = ''
postPatch = ''
sed -i 's|cacheTimeout != 3600|cacheTimeout != 0|' cmd/hologram-server/main.go
rm -f agent/metadata_service_test.go server/persistent_ldap_test.go server/server_test.go
'';
vendorSha256 = "sha256-pEYMpBiNbq5eSDiFT+9gMjGHDeTzWIej802Zz6Xtays=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://github.com/AdRoll/hologram/";
description = "Easy, painless AWS credentials on developer laptops";