mission-planner: added updateScript

This commit is contained in:
Noah Markert 2024-10-02 20:52:35 +02:00
parent 043b564f91
commit da8c777f09
No known key found for this signature in database
GPG Key ID: 99917DC4D1721135

View File

@ -1,4 +1,5 @@
{ lib, stdenv, fetchurl, makeDesktopItem, makeWrapper, unzip, mono }:
{ lib, stdenv, fetchurl, makeDesktopItem, makeWrapper, unzip, mono, gitUpdater
}:
let
pname = "mission-planner";
@ -45,6 +46,8 @@ in stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "ArduPilot ground station";
mainProgram = "mission-planner";