siril: 1.2.4 -> 1.2.6

authored by liberodark and committed by Bjørn Forsman fb6a0e29 5680bc1e

+21 -9
+21 -9
pkgs/by-name/si/siril/package.nix
··· 28 28 ffms, 29 29 wrapGAppsHook3, 30 30 curl, 31 + versionCheckHook, 32 + nix-update-script, 31 33 }: 32 34 33 - stdenv.mkDerivation rec { 35 + stdenv.mkDerivation (finalAttrs: { 34 36 pname = "siril"; 35 - version = "1.2.4"; 37 + version = "1.2.6"; 36 38 37 39 src = fetchFromGitLab { 38 40 owner = "free-astro"; 39 41 repo = "siril"; 40 - rev = version; 41 - hash = "sha256-orNu9qo7sutMUPeIPPhxKETEKbCm4D6nAuo4Hc/8Bdo="; 42 + tag = "${finalAttrs.version}"; 43 + hash = "sha256-pSJp4Oj8x4pKuwPSaSyGbyGfpnanoWBxAdXtzGTP7uA="; 42 44 }; 43 45 44 46 nativeBuildInputs = [ ··· 86 88 cd nixbld 87 89 ''; 88 90 89 - meta = with lib; { 91 + nativeInstallCheckInputs = [ 92 + versionCheckHook 93 + ]; 94 + versionCheckProgramArg = [ "--version" ]; 95 + doInstallCheck = true; 96 + 97 + passthru = { 98 + updateScript = nix-update-script { }; 99 + }; 100 + 101 + meta = { 90 102 homepage = "https://www.siril.org/"; 91 103 description = "Astrophotographic image processing tool"; 92 - license = licenses.gpl3Plus; 104 + license = lib.licenses.gpl3Plus; 93 105 changelog = "https://gitlab.com/free-astro/siril/-/blob/HEAD/ChangeLog"; 94 - maintainers = with maintainers; [ hjones2199 ]; 95 - platforms = platforms.linux; 106 + maintainers = with lib.maintainers; [ hjones2199 ]; 107 + platforms = lib.platforms.linux; 96 108 }; 97 - } 109 + })