nixpkgs/pkgs/tools/security/hologram/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
793 B
Nix
Raw Normal View History

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 {
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 = ''
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
'';
2023-02-17 03:44:32 +00:00
vendorHash = "sha256-HI5+02qSQVLy6ZKaFjy1bWtvVk5bqMBg1umu2ic5HuY=";
2022-04-16 01:41:41 +00:00
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://github.com/AdRoll/hologram/";
description = "Easy, painless AWS credentials on developer laptops";
2023-09-23 12:35:29 +00:00
maintainers = with maintainers; [ ];
license = licenses.asl20;
};
2016-06-04 17:37:12 +00:00
}