docker-color-output: fix changelog URL

Due to inconsistent tag naming (some have the 'v' prefix, some don't),
the URL to the newer releases was broken.

This was noticed by #514132
This commit is contained in:
Sébastien Guimmara
2026-04-30 09:02:04 +02:00
parent bf706776dc
commit a36355b3f4
@@ -12,6 +12,7 @@ buildGoModule (finalAttrs: {
src = fetchFromGitHub {
owner = "devemio";
repo = "docker-color-output";
# Warning: tag names are inconsistent: some have the 'v' prefix, some don't.
tag = "v${finalAttrs.version}";
hash = "sha256-Rpym9YckgJ583zgPpC/mQW1IGgQUppemFhAecgy3M8A=";
};
@@ -31,7 +32,9 @@ buildGoModule (finalAttrs: {
mainProgram = "docker-color-output";
license = lib.licenses.mit;
homepage = "https://github.com/devemio/docker-color-output";
changelog = "https://github.com/devemio/docker-color-output/releases/tag/${finalAttrs.version}";
# Note that due to inconsistent tag names (see above comment),
# we might want to check the URL before committing.
changelog = "https://github.com/devemio/docker-color-output/releases/tag/v${finalAttrs.version}";
maintainers = with lib.maintainers; [ sguimmara ];
};
})