2016-06-06 00:28:52 +00:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
2016-06-04 17:37:12 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "hologram-${version}";
|
2017-02-01 16:26:55 +00:00
|
|
|
version = "20170130-${stdenv.lib.strings.substring 0 7 rev}";
|
|
|
|
rev = "d20d1c30379e7010e8f9c428a5b9e82f54d390e1";
|
2016-06-04 17:37:12 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
|
|
|
url = "https://github.com/AdRoll/hologram";
|
2017-02-01 16:26:55 +00:00
|
|
|
sha256 = "0dg5kfs16kf2gzhpmzsg83qzi2pxgnc9g81lw5zpa6fmzpa9kgsn";
|
2016-06-04 17:37:12 +00:00
|
|
|
};
|
|
|
|
|
2017-02-01 16:26:55 +00:00
|
|
|
goPackagePath = "github.com/AdRoll/hologram";
|
|
|
|
|
2016-09-10 10:04:13 +00:00
|
|
|
goDeps = ./deps.nix;
|
2017-02-01 16:26:55 +00:00
|
|
|
|
2017-07-05 10:21:51 +00:00
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's|cacheTimeout != 3600|cacheTimeout != 0|' cmd/hologram-server/main.go
|
|
|
|
'';
|
|
|
|
|
2017-02-01 16:26:55 +00:00
|
|
|
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 17:37:12 +00:00
|
|
|
}
|