diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e5f61bfb62f4..51ecfcf73501 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9448,6 +9448,8 @@ let nsq = goPackages.nsq.bin // { outputs = [ "bin" ]; }; + oauth2_proxy = goPackages.oauth2_proxy.bin // { outputs = [ "bin" ]; }; + openpts = callPackage ../servers/openpts { }; openresty = callPackage ../servers/http/openresty { }; diff --git a/pkgs/top-level/go-packages.nix b/pkgs/top-level/go-packages.nix index ad02f75f47fb..4c10eec65af5 100644 --- a/pkgs/top-level/go-packages.nix +++ b/pkgs/top-level/go-packages.nix @@ -1838,6 +1838,17 @@ let }; }; + hmacauth = buildGoPackage { + name = "hmacauth"; + goPackagePath = "github.com/18F/hmacauth"; + src = fetchFromGitHub { + rev = "9232a6386b737d7d1e5c1c6e817aa48d5d8ee7cd"; + owner = "18F"; + repo = "hmacauth"; + sha256 = "056mcqrf2bv0g9gn2ixv19srk613h4sasl99w9375mpvmadb3pz1"; + }; + }; + hologram = buildGoPackage rec { rev = "63014b81675e1228818bf36ef6ef0028bacad24b"; name = "hologram-${stdenv.lib.strings.substring 0 7 rev}"; @@ -2362,6 +2373,21 @@ let sha256 = "03fvgbjf2aprjj1s6wdc35wwa7k1w5phkixzvp5n1j21sf6w4h24"; }; + oauth2_proxy = buildGoPackage { + name = "oauth2_proxy"; + goPackagePath = "github.com/bitly/oauth2_proxy"; + src = fetchFromGitHub { + rev = "10f47e325b782a60b8689653fa45360dee7fbf34"; + owner = "bitly"; + repo = "oauth2_proxy"; + sha256 = "13f6kaq15f6ial9gqzrsx7i94jhd5j70js2k93qwxcw1vkh1b6si"; + }; + buildInputs = [ + go-assert go-options go-simplejson toml fsnotify.v1 oauth2 + google-api-go-client hmacauth + ]; + }; + objx = buildFromGitHub { rev = "cbeaeb16a013161a98496fad62933b1d21786672"; owner = "stretchr";