fmt: fix changelog file extension

in v10, the upstream switched from .rst to .md
This commit is contained in:
Acid Bong
2026-04-29 21:37:51 +03:00
parent 29899cf64a
commit a8559b4e57
+5 -1
View File
@@ -60,7 +60,11 @@ let
used as a fast and safe alternative to printf and IOStreams.
'';
homepage = "https://fmt.dev/";
changelog = "https://github.com/fmtlib/fmt/blob/${version}/ChangeLog.rst";
changelog =
let
ext = if lib.versionOlder version "10" then "rst" else "md";
in
"https://github.com/fmtlib/fmt/blob/${version}/ChangeLog.${ext}";
downloadPage = "https://github.com/fmtlib/fmt/";
maintainers = [ ];
license = lib.licenses.mit;