diff --git a/pkgs/applications/goldencheetah/bin.nix b/pkgs/applications/goldencheetah/bin.nix
index a81b153ab97c9ca70630059472db4d152bf72f08..59cacd47259b612f0d93d9d8e1438154a939f344 100644
--- a/pkgs/applications/goldencheetah/bin.nix
+++ b/pkgs/applications/goldencheetah/bin.nix
@@ -1,34 +1,64 @@
-{ stdenv, fetchfromgh, undmg }:
+{ stdenv, fetchfromgh, appimageTools, undmg }:
let
pname = "goldencheetah";
version = "3.5";
-in
-stdenv.mkDerivation {
src = fetchfromgh {
owner = "GoldenCheetah";
repo = "GoldenCheetah";
version = "V${version}";
x86_64-linux = "07ixivsp5j05a3zsbqx5jf11x7m3rcqaw095qjqrwd0nq0nmmhg8";
x86_64-darwin = "0alg0a071lpkx0v3qqkqbb93vh1nsb3d7czxl9m15v17akp8nl82";
};
meta = with stdenv.lib; {
description = "Performance software for cyclists, runners and triathletes";
homepage = "https://www.goldencheetah.org/";
license = licenses.gpl3;
maintainers = [ maintainers.sikmir ];
skip.ci = true;
};
-}
mv $out/bin/{${name},${pname}}
install -Dm644 ${appimageContents}/GoldenCheetah.desktop -t $out/share/applications
install -Dm644 ${appimageContents}/gc.png -t $out/share/icons/hicolor/256x256/apps
mkdir -p $out/Applications/GoldenCheetah.app
cp -R . $out/Applications/GoldenCheetah.app
+in
+if stdenv.isDarwin
+then darwin
+else linux
application/octet-stream
This content has been proxied by September (3851b).