dex-oidc: 2.23.0 -> 2.27.0

Fixes #109155

Addresses [CVE-2020-2690](https://nvd.nist.gov/vuln/detail/CVE-2020-26290)
This commit is contained in:
Benjamin Staffin 2021-01-12 18:10:25 -05:00 committed by Benjamin Staffin
parent e35938ab71
commit 4562278510

View File

@ -1,24 +1,24 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "dex";
version = "2.23.0";
version = "2.27.0";
src = fetchFromGitHub {
owner = "dexidp";
repo = pname;
rev = "v${version}";
sha256 = "1fr5r7d0xwj0b69jhszyyif4yc4kiy7zpfcpf83zdy12mh8f96c8";
sha256 = "0n66nm91qcmm00mz8f8x39xqr3y05qxk34fvka53s6xax1gxvxxi";
};
goPackagePath = "github.com/dexidp/dex";
vendorSha256 = "1k87q3ic02n2b632y3lmnclac1iaidmsl3f9py61myi5r02p03lp";
subPackages = [
"cmd/dex"
];
buildFlagsArray = [
"-ldflags=-w -X github.com/dexidp/dex/version.Version=${src.rev}"
"-ldflags=-w -s -X github.com/dexidp/dex/version.Version=${src.rev}"
];
postInstall = ''