fltk{,14}: add update script

This commit is contained in:
Grimmauld
2025-09-26 15:39:07 +02:00
parent 252bb01d91
commit d1fb29386a
2 changed files with 18 additions and 0 deletions
+9
View File
@@ -41,6 +41,8 @@
wayland-scanner,
withExamples ? (stdenv.buildPlatform == stdenv.hostPlatform),
nix-update-script,
}:
# pango support depends on Xft
@@ -197,6 +199,13 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail "/$out/" "/"
'';
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"release-(1\\.4\\.[0-9.]+)"
];
};
meta = {
description = "C++ cross-platform lightweight GUI library";
homepage = "https://www.fltk.org";
@@ -33,6 +33,8 @@
withExamples ? (stdenv.buildPlatform == stdenv.hostPlatform),
withShared ? true,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -180,6 +182,13 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail "/$out/" "/"
'';
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"release-(1\\.3\\.[0-9.]+)"
];
};
meta = {
description = "C++ cross-platform lightweight GUI library";
homepage = "https://www.fltk.org";