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