oauth2_proxy: extracted from goPackages
This commit is contained in:
20
pkgs/servers/oauth2_proxy/default.nix
Normal file
20
pkgs/servers/oauth2_proxy/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
# This file was generated by go2nix.
|
||||
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
||||
|
||||
with goPackages;
|
||||
|
||||
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";
|
||||
};
|
||||
|
||||
goDeps = ./deps.json;
|
||||
}
|
||||
16
pkgs/servers/oauth2_proxy/deps.json
Normal file
16
pkgs/servers/oauth2_proxy/deps.json
Normal file
@@ -0,0 +1,16 @@
|
||||
[
|
||||
{
|
||||
"include": "../../libs.json",
|
||||
"packages": [
|
||||
"google.golang.org/api",
|
||||
"google.golang.org/cloud",
|
||||
"golang.org/x/oauth2",
|
||||
"github.com/18F/hmacauth",
|
||||
"github.com/mreiferson/go-options",
|
||||
"github.com/BurntSushi/toml",
|
||||
"github.com/bitly/go-simplejson",
|
||||
"golang.org/x/net",
|
||||
"gopkg.in/fsnotify.v1"
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user