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
1
-
{ appimageTools, lib, fetchurl, stdenv }:
1
1
+
{ appimageTools, lib, fetchurl, nix-update-script, stdenv }:
2
2
let
3
3
4
4
pname = "golden-cheetah";
5
5
-
version = "3.6-RC4";
5
5
+
version = "3.6";
6
6
7
7
src = fetchurl {
8
8
-
url = "https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v${version}/GoldenCheetah_v3.6-DEV_x64.AppImage";
9
9
-
hash = "sha256-I5GafK/W1djSx67xrjcMyPqMSqGW9AfrcPYcGcf0Pag=";
8
8
+
url = "https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v${version}/GoldenCheetah_v${version}_x64.AppImage";
9
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
27
-
meta = with lib; {
27
27
+
passthru.updateScript = nix-update-script { };
28
28
+
29
29
+
meta = {
28
30
description = "Performance software for cyclists, runners and triathletes. This version includes the API Tokens for e.g. Strava";
29
29
-
platforms = platforms.linux;
31
31
+
platforms = lib.platforms.linux;
30
32
broken = !stdenv.isx86_64;
31
31
-
maintainers = with maintainers; [ gador ];
32
32
-
license = licenses.gpl2Plus;
33
33
-
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
33
33
+
maintainers = with lib.maintainers; [ gador ];
34
34
+
license = lib.licenses.gpl2Plus;
35
35
+
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
34
36
};
35
37
}
+9
-7
pkgs/applications/misc/golden-cheetah/default.nix
···
1
1
-
{ lib, fetchFromGitHub, fetchpatch, mkDerivation
1
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
19
-
version = "3.6-RC4";
19
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
25
-
hash = "sha256-2cwxsfy4Zc9fF3fe6QcZp3LPd2yWw2rDlYrK/QGiJYw=";
25
25
+
hash = "sha256-Ntim1/ZPaTPCHQ5p8xF5LWpqq8+OgkPfaQqqysv9j/c=";
26
26
};
27
27
28
28
buildInputs = [
···
72
72
runHook postInstall
73
73
'';
74
74
75
75
-
meta = with lib; {
75
75
+
passthru.updateScript = nix-update-script { };
76
76
+
77
77
+
meta = {
76
78
description = "Performance software for cyclists, runners and triathletes. Built from source and without API tokens";
77
77
-
platforms = platforms.linux;
78
78
-
maintainers = with maintainers; [ adamcstephens ];
79
79
-
license = licenses.gpl2Plus;
79
79
+
platforms = lib.platforms.linux;
80
80
+
maintainers = with lib.maintainers; [ adamcstephens ];
81
81
+
license = lib.licenses.gpl2Plus;
80
82
};
81
83
}