1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 07:34:36 +00:00
nixpkgs/pkgs/servers/oauth2_proxy/default.nix
2018-04-12 17:47:00 +02:00

26 lines
728 B
Nix

{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "oauth2_proxy-${version}";
version = "20180325-${stdenv.lib.strings.substring 0 7 rev}";
rev = "a94b0a8b25e553f7333f7b84aeb89d9d18ec259b";
goPackagePath = "github.com/bitly/oauth2_proxy";
src = fetchFromGitHub {
inherit rev;
repo = "oauth2_proxy";
owner = "bitly";
sha256 = "07m258s9fxjsgixggw0d1zicd7l6l2rkm5mh3zdjdaj20sqcj217";
};
goDeps = ./deps.nix;
meta = with lib; {
description = "A reverse proxy that provides authentication with Google, Github or other provider";
homepage = https://github.com/bitly/oauth2_proxy/;
license = licenses.mit;
maintainers = [ maintainers.yorickvp ];
};
}