golden-cheetah*: 3.6-RC4 -> 3.6

+20 -16
+11 -9
pkgs/applications/misc/golden-cheetah-bin/default.nix
··· 1 - { appimageTools, lib, fetchurl, stdenv }: 1 + { appimageTools, lib, fetchurl, nix-update-script, stdenv }: 2 2 let 3 3 4 4 pname = "golden-cheetah"; 5 - version = "3.6-RC4"; 5 + version = "3.6"; 6 6 7 7 src = fetchurl { 8 - url = "https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v${version}/GoldenCheetah_v3.6-DEV_x64.AppImage"; 9 - hash = "sha256-I5GafK/W1djSx67xrjcMyPqMSqGW9AfrcPYcGcf0Pag="; 8 + url = "https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v${version}/GoldenCheetah_v${version}_x64.AppImage"; 9 + hash = "sha256-PMRUDQSQxbECbF9SPOo03t4Xxj1OtYJAPXEMyyy6EVY="; 10 10 }; 11 11 12 12 appimageContents = appimageTools.extract { inherit pname src version; }; ··· 24 24 cp ${appimageContents}/gc.png $out/share/pixmaps/ 25 25 ''; 26 26 27 - meta = with lib; { 27 + passthru.updateScript = nix-update-script { }; 28 + 29 + meta = { 28 30 description = "Performance software for cyclists, runners and triathletes. This version includes the API Tokens for e.g. Strava"; 29 - platforms = platforms.linux; 31 + platforms = lib.platforms.linux; 30 32 broken = !stdenv.isx86_64; 31 - maintainers = with maintainers; [ gador ]; 32 - license = licenses.gpl2Plus; 33 - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 33 + maintainers = with lib.maintainers; [ gador ]; 34 + license = lib.licenses.gpl2Plus; 35 + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 34 36 }; 35 37 }
+9 -7
pkgs/applications/misc/golden-cheetah/default.nix
··· 1 - { lib, fetchFromGitHub, fetchpatch, mkDerivation 1 + { lib, fetchFromGitHub, nix-update-script, mkDerivation 2 2 , qtbase, qtsvg, qtserialport, qtwebengine, qtmultimedia, qttools 3 3 , qtconnectivity, qtcharts, libusb-compat-0_1, gsl, blas 4 4 , bison, flex, zlib, qmake, makeDesktopItem, wrapQtAppsHook ··· 16 16 }; 17 17 in mkDerivation rec { 18 18 pname = "golden-cheetah"; 19 - version = "3.6-RC4"; 19 + version = "3.6"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "GoldenCheetah"; 23 23 repo = "GoldenCheetah"; 24 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-2cwxsfy4Zc9fF3fe6QcZp3LPd2yWw2rDlYrK/QGiJYw="; 25 + hash = "sha256-Ntim1/ZPaTPCHQ5p8xF5LWpqq8+OgkPfaQqqysv9j/c="; 26 26 }; 27 27 28 28 buildInputs = [ ··· 72 72 runHook postInstall 73 73 ''; 74 74 75 - meta = with lib; { 75 + passthru.updateScript = nix-update-script { }; 76 + 77 + meta = { 76 78 description = "Performance software for cyclists, runners and triathletes. Built from source and without API tokens"; 77 - platforms = platforms.linux; 78 - maintainers = with maintainers; [ adamcstephens ]; 79 - license = licenses.gpl2Plus; 79 + platforms = lib.platforms.linux; 80 + maintainers = with lib.maintainers; [ adamcstephens ]; 81 + license = lib.licenses.gpl2Plus; 80 82 }; 81 83 }