Merge pull request #26362 from benley/dex-2.4.1

dex: init at 2.4.1
This commit is contained in:
Jaka Hudoklin 2017-06-05 00:56:34 +02:00 committed by GitHub
commit 305e7deb0d
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib, buildGoPackage, fetchFromGitHub }:
let version = "2.4.1"; in
buildGoPackage rec {
name = "dex-${version}";
goPackagePath = "github.com/coreos/dex";
src = fetchFromGitHub {
rev = "v${version}";
owner = "coreos";
repo = "dex";
sha256 = "11qpn3wh74mq16xgl9l50n2v02ffqcd14xccf77j5il04xr764nx";
};
subPackages = [
"cmd/dex"
];
buildFlagsArray = [
"-ldflags=-w -X ${goPackagePath}/version.Version=${src.rev}"
];
meta = {
description = "OpenID Connect and OAuth2 identity provider with pluggable connectors";
license = lib.licenses.asl20;
homepage = https://github.com/coreos/dex;
maintainers = with lib.maintainers; [benley];
platforms = lib.platforms.unix;
};
}

View File

@ -10919,6 +10919,8 @@ with pkgs;
couchpotato = callPackage ../servers/couchpotato {}; couchpotato = callPackage ../servers/couchpotato {};
dex-oidc = callPackage ../servers/dex { };
dico = callPackage ../servers/dico { }; dico = callPackage ../servers/dico { };
dict = callPackage ../servers/dict { dict = callPackage ../servers/dict {