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

30 lines
768 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
2016-06-04 19:37:12 +02:00
buildGoPackage rec {
2018-03-20 08:25:13 +01:00
name = "hologram-2018-03-19";
rev = "a7bab58642b530edb75b9cf6c1d834c85822ceac";
2016-06-04 19:37:12 +02:00
2018-03-20 08:25:13 +01:00
src = fetchFromGitHub {
owner = "AdRoll";
repo = "hologram";
2016-06-04 19:37:12 +02:00
inherit rev;
2018-03-20 08:25:13 +01:00
sha256 = "00scryz8js6gbw8lp2y23qikbazz2dd992r97rqh0l1q4baa0ckn";
2016-06-04 19:37:12 +02:00
};
goPackagePath = "github.com/AdRoll/hologram";
goDeps = ./deps.nix;
preConfigure = ''
sed -i 's|cacheTimeout != 3600|cacheTimeout != 0|' cmd/hologram-server/main.go
'';
meta = with stdenv.lib; {
homepage = https://github.com/AdRoll/hologram/;
description = "Easy, painless AWS credentials on developer laptops.";
maintainers = with maintainers; [ nand0p ];
platforms = platforms.all;
license = licenses.asl20;
};
2016-06-04 19:37:12 +02:00
}