nomachine-client: 7.4.1 -> 7.6.2

This commit is contained in:
talyz 2021-08-21 18:58:11 +02:00
parent f6b27bd905
commit 73bae61cda
No known key found for this signature in database
GPG key ID: 2DED2151F4671A2B

View file

@ -1,9 +1,9 @@
{ lib, stdenv, file, fetchurl, makeWrapper, { lib, stdenv, file, fetchurl, makeWrapper,
autoPatchelfHook, jsoncpp, libpulseaudio }: autoPatchelfHook, jsoncpp, libpulseaudio }:
let let
versionMajor = "7.4"; versionMajor = "7.6";
versionMinor = "1"; versionMinor = "2";
versionBuild_x86_64 = "1"; versionBuild_x86_64 = "4";
versionBuild_i686 = "1"; versionBuild_i686 = "1";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -14,12 +14,12 @@ in
if stdenv.hostPlatform.system == "x86_64-linux" then if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl { fetchurl {
url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_x86_64}_x86_64.tar.gz"; url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_x86_64}_x86_64.tar.gz";
sha256 = "1qir9ii0h5ali87mjzjl72dm1ky626d7y59jfpglakqxzqhjamdz"; sha256 = "1kkdf9dlp4j453blnwp1sds4r3h3fy863pvhdh466mrq3f10qca8";
} }
else if stdenv.hostPlatform.system == "i686-linux" then else if stdenv.hostPlatform.system == "i686-linux" then
fetchurl { fetchurl {
url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_i686}_i686.tar.gz"; url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_i686}_i686.tar.gz";
sha256 = "1gxiysc09k3jz1pkkyfqgw2fygcnmrnskk6b9vn4fjnvsab4py60"; sha256 = "0h4c90hzhbg0qdb585bc9gry9cf9hd8r53m2jha4fdqhzd95ydln";
} }
else else
throw "NoMachine client is not supported on ${stdenv.hostPlatform.system}"; throw "NoMachine client is not supported on ${stdenv.hostPlatform.system}";
@ -90,4 +90,3 @@ in
platforms = [ "x86_64-linux" "i686-linux" ]; platforms = [ "x86_64-linux" "i686-linux" ];
}; };
} }