1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/servers/oauth2_proxy/default.nix

25 lines
613 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "oauth2_proxy";
version = "3.2.0";
goPackagePath = "github.com/pusher/${pname}";
2018-04-12 16:47:00 +01:00
src = fetchFromGitHub {
repo = pname;
owner = "pusher";
sha256 = "0k73ggyh12g2vzjq91i9d3bxbqfvh5k6njzza1lvkzasgp07wisg";
rev = "v${version}";
};
goDeps = ./deps.nix;
2018-04-12 16:47:00 +01:00
meta = with lib; {
description = "A reverse proxy that provides authentication with Google, Github or other provider";
homepage = https://github.com/pusher/oauth2_proxy/;
2018-04-12 16:47:00 +01:00
license = licenses.mit;
maintainers = [ maintainers.yorickvp ];
};
}