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