tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
tlclient: 4.18.0-3768 -> 4.19.0-4005
kyehn
5 months ago
a9e32206
21993a23
+51
-58
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
tl
tlclient
package.nix
+51
-58
pkgs/by-name/tl/tlclient/package.nix
···
9
9
testers,
10
10
}:
11
11
12
12
-
stdenv.mkDerivation (
13
13
-
finalAttrs:
14
14
-
let
15
15
-
version = "4.18.0";
16
16
-
buildNum = "3768";
17
17
-
in
18
18
-
{
19
19
-
pname = "tlclient";
20
20
-
version = "${version}-${buildNum}";
12
12
+
let
13
13
+
version = "4.19.0";
14
14
+
buildNum = "4005";
15
15
+
in
16
16
+
stdenv.mkDerivation (finalAttrs: {
17
17
+
pname = "tlclient";
18
18
+
version = "${version}-${buildNum}";
21
19
22
22
-
src = fetchurl {
23
23
-
url = "https://www.cendio.com/downloads/clients/tl-${finalAttrs.version}-client-linux-dynamic-x86_64.tar.gz";
24
24
-
hash = "sha256-fTezGhn0UESEQRPrHYVZNcplV48wb5X/xqplIfLRLAA=";
25
25
-
};
20
20
+
src = fetchurl {
21
21
+
url = "https://www.cendio.com/downloads/clients/tl-${finalAttrs.version}-client-linux-dynamic-x86_64.tar.gz";
22
22
+
hash = "sha256-shlhu0m+TPgw3ndR70QdJ6Z0AyJdI/xmHJv+ZbFVokE=";
23
23
+
};
26
24
27
27
-
nativeBuildInputs = [
28
28
-
autoPatchelfHook
29
29
-
];
25
25
+
nativeBuildInputs = [
26
26
+
autoPatchelfHook
27
27
+
];
30
28
31
31
-
buildInputs = [
32
32
-
alsa-lib
33
33
-
libX11
34
34
-
pcsclite
35
35
-
];
29
29
+
buildInputs = [
30
30
+
alsa-lib
31
31
+
libX11
32
32
+
pcsclite
33
33
+
];
36
34
37
37
-
dontConfigure = true;
38
38
-
dontBuild = true;
35
35
+
dontConfigure = true;
36
36
+
dontBuild = true;
39
37
40
40
-
installPhase = ''
41
41
-
runHook preInstall
38
38
+
installPhase = ''
39
39
+
runHook preInstall
42
40
43
43
-
mkdir -p "$out"
44
44
-
cp -R lib "$out/"
45
45
-
cp -R lib/tlclient/share "$out/"
41
41
+
rm etc/ssh_known_hosts
42
42
+
rm --recursive lib/tlclient/lib
43
43
+
substituteInPlace lib/tlclient/share/applications/thinlinc-client.desktop \
44
44
+
--replace-fail "/opt/thinlinc/bin/" ""
45
45
+
cp --recursive . $out
46
46
+
cp --recursive $out/lib/tlclient/share $out/share
47
47
+
install -D --mode=0644 $out/lib/tlclient/EULA.txt $out/share/licenses/tlclient/EULA.txt
48
48
+
install -D --mode=0644 $out/lib/tlclient/open_source_licenses.txt $out/share/licenses/tlclient/open_source_licenses.txt
46
49
47
47
-
install -Dm644 "lib/tlclient/EULA.txt" "$out/share/licenses/tlclient/EULA.txt"
48
48
-
install -m644 "lib/tlclient/open_source_licenses.txt" "$out/share/licenses/tlclient/open_source_licenses.txt"
49
49
-
substituteInPlace "$out/share/applications/thinlinc-client.desktop" \
50
50
-
--replace-fail "/opt/thinlinc/bin/" ""
50
50
+
runHook postInstall
51
51
+
'';
51
52
52
52
-
install -Dm644 "etc/tlclient.conf" "$out/etc/tlclient.conf"
53
53
-
install -Dm755 bin/tlclient* -t "$out/bin"
54
54
-
install -Dm644 "lib/tlclient/thinlinc_128.png" "$out/share/icons/hicolor/128x128/apps/thinlinc-client.png"
53
53
+
passthru.tests.version = testers.testVersion {
54
54
+
package = finalAttrs.finalPackage;
55
55
+
version = "${version} build ${buildNum}";
56
56
+
};
55
57
56
56
-
runHook postInstall
57
57
-
'';
58
58
-
59
59
-
passthru.tests.version = testers.testVersion {
60
60
-
package = finalAttrs.finalPackage;
61
61
-
version = "${version} build ${buildNum}";
62
62
-
};
63
63
-
64
64
-
meta = {
65
65
-
description = "Linux remote desktop client built on open source technology";
66
66
-
license = {
67
67
-
fullName = "Cendio End User License Agreement 3.2";
68
68
-
url = "https://www.cendio.com/thinlinc/docs/legal/eula";
69
69
-
free = false;
70
70
-
};
71
71
-
homepage = "https://www.cendio.com/";
72
72
-
changelog = "https://www.cendio.com/thinlinc/docs/relnotes/${version}/";
73
73
-
maintainers = with lib.maintainers; [ felixalbrigtsen ];
74
74
-
platforms = with lib.platforms; linux ++ darwin ++ windows;
75
75
-
broken = !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64);
76
76
-
mainProgram = "tlclient";
58
58
+
meta = {
59
59
+
description = "Linux remote desktop client built on open source technology";
60
60
+
license = {
61
61
+
fullName = "Cendio end-user license agreement";
62
62
+
url = "https://www.cendio.com/thinlinc/docs/legal/eula";
63
63
+
free = false;
77
64
};
78
78
-
}
79
79
-
)
65
65
+
homepage = "https://www.cendio.com/";
66
66
+
changelog = "https://www.cendio.com/thinlinc/docs/relnotes/${version}/";
67
67
+
maintainers = with lib.maintainers; [ felixalbrigtsen ];
68
68
+
platforms = with lib.platforms; linux ++ darwin ++ windows;
69
69
+
broken = !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64);
70
70
+
mainProgram = "tlclient";
71
71
+
};
72
72
+
})