2016-06-06 03:28:52 +03:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
2016-06-04 14:25:34 +03:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "oauth2_proxy-${version}";
|
|
|
|
version = "20160120-${stdenv.lib.strings.substring 0 7 rev}";
|
|
|
|
rev = "10f47e325b782a60b8689653fa45360dee7fbf34";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/bitly/oauth2_proxy";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
|
|
|
url = "https://github.com/bitly/oauth2_proxy";
|
|
|
|
sha256 = "13f6kaq15f6ial9gqzrsx7i94jhd5j70js2k93qwxcw1vkh1b6si";
|
|
|
|
};
|
|
|
|
|
2016-09-10 13:04:13 +03:00
|
|
|
goDeps = ./deps.nix;
|
2016-06-04 14:25:34 +03:00
|
|
|
}
|