dex-oidc: 2.43.0 -> 2.44.0 (#462507)

This commit is contained in:
Benjamin Staffin
2025-11-17 16:29:02 +00:00
committed by GitHub

View File

@@ -1,24 +1,24 @@
{ {
lib, lib,
buildGo124Module, buildGoModule,
fetchFromGitHub, fetchFromGitHub,
nixosTests, nixosTests,
testers, testers,
dex-oidc, dex-oidc,
}: }:
buildGo124Module rec { buildGoModule (finalAttrs: {
pname = "dex"; pname = "dex";
version = "2.43.0"; version = "2.44.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dexidp"; owner = "dexidp";
repo = "dex"; repo = "dex";
rev = "v${version}"; rev = "v${finalAttrs.version}";
sha256 = "sha256-ELklXlB691xcUdCi+B1Vwd9yvS1Txg+X+QKBMGP8354="; sha256 = "sha256-wpy7pZBpqAaPjWbnsqtnE+65a58IGg0pyp4CEUnmmc4=";
}; };
vendorHash = "sha256-td15lXx6h4SFfTQdc4Whe2bbOpXK57OD8fyDzRvas8M="; vendorHash = "sha256-3ef2G4+UlLGsBW09ZM20qU82uj/hVlMAnujcd2BulGg=";
subPackages = [ subPackages = [
"cmd/dex" "cmd/dex"
@@ -27,7 +27,7 @@ buildGo124Module rec {
ldflags = [ ldflags = [
"-w" "-w"
"-s" "-s"
"-X main.version=${src.rev}" "-X main.version=${finalAttrs.src.rev}"
]; ];
postInstall = '' postInstall = ''
@@ -40,7 +40,7 @@ buildGo124Module rec {
version = testers.testVersion { version = testers.testVersion {
package = dex-oidc; package = dex-oidc;
command = "dex version"; command = "dex version";
version = "v${version}"; version = "v${finalAttrs.version}";
}; };
}; };
@@ -54,4 +54,4 @@ buildGo124Module rec {
]; ];
mainProgram = "dex"; mainProgram = "dex";
}; };
} })