1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/servers/oauth2_proxy/default.nix
nyanloutre a47124da9e
oauth2_proxy: 20180325 -> 3.2.0
after bitly repo was frozen, pusher is now the official hard fork
https://github.com/bitly/oauth2_proxy/issues/628
2019-04-30 19:25:02 +02:00

25 lines
621 B
Nix

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