From ff65a9cf26447b21d4c2d868a6cd15859bbc1d5b Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Mon, 5 Sep 2022 11:03:13 +0300 Subject: [PATCH] =?UTF-8?q?gpxsee:=2011.3=20=E2=86=92=2011.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/applications/misc/gpxsee/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/gpxsee/default.nix b/pkgs/applications/misc/gpxsee/default.nix index 0fbfbcba3139..8f7ab1e5f9e0 100644 --- a/pkgs/applications/misc/gpxsee/default.nix +++ b/pkgs/applications/misc/gpxsee/default.nix @@ -1,14 +1,16 @@ -{ lib, stdenv, fetchFromGitHub, qmake, qttools, qttranslations, qtlocation, qtpbfimageplugin, wrapQtAppsHook, substituteAll }: +{ lib, stdenv, fetchFromGitHub, nix-update-script, substituteAll +, qmake, qttools, qttranslations, qtlocation, qtpbfimageplugin, wrapQtAppsHook +}: stdenv.mkDerivation rec { pname = "gpxsee"; - version = "11.3"; + version = "11.4"; src = fetchFromGitHub { owner = "tumic0"; repo = "GPXSee"; rev = version; - sha256 = "sha256-n8busir6IYyWyGOv9AzYjm8erR0fjMAduIzITH+EvVI="; + hash = "sha256-aePX82B810I45n2t0OVCt1FlmkVKWgNgzCD71lYyngU="; }; patches = (substituteAll { @@ -30,6 +32,12 @@ stdenv.mkDerivation rec { mv GPXSee.app $out/Applications ''; + passthru = { + updateScript = nix-update-script { + attrPath = pname; + }; + }; + meta = with lib; { description = "GPS log file viewer and analyzer"; longDescription = ''