vp: add update script

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
Marcin Serwin
2026-02-06 17:35:12 +01:00
parent c76c61ef89
commit e45fc96846
+5
View File
@@ -5,6 +5,7 @@
autoreconfHook,
fetchFromGitHub,
stdenv,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -40,6 +41,10 @@ stdenv.mkDerivation (finalAttrs: {
"-I${lib.getDev SDL_image}/include/SDL"
];
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
homepage = "https://github.com/erikg/vp";
description = "SDL based picture viewer/slideshow";