fltk{,14}: add update script
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user