tlclient: 4.18.0-3768 -> 4.19.0-4005

kyehn a9e32206 21993a23

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