diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/hologram')
-rw-r--r-- | nixpkgs/pkgs/tools/security/hologram/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/hologram/default.nix b/nixpkgs/pkgs/tools/security/hologram/default.nix new file mode 100644 index 000000000000..ebb884378267 --- /dev/null +++ b/nixpkgs/pkgs/tools/security/hologram/default.nix @@ -0,0 +1,26 @@ +{ lib, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + pname = "hologram"; + version = "unstable-2018-03-19"; + + src = fetchFromGitHub { + owner = "AdRoll"; + repo = "hologram"; + rev = "a7bab58642b530edb75b9cf6c1d834c85822ceac"; + sha256 = "00scryz8js6gbw8lp2y23qikbazz2dd992r97rqh0l1q4baa0ckn"; + }; + + goPackagePath = "github.com/AdRoll/hologram"; + + preConfigure = '' + sed -i 's|cacheTimeout != 3600|cacheTimeout != 0|' cmd/hologram-server/main.go + ''; + + meta = with lib; { + homepage = "https://github.com/AdRoll/hologram/"; + description = "Easy, painless AWS credentials on developer laptops"; + maintainers = with maintainers; [ ]; + license = licenses.asl20; + }; +} |