3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #178703 from talyz/nomachine-7.10.1

nomachine-client: 7.9.2 -> 7.10.1
This commit is contained in:
Thiago Kenji Okada 2022-06-25 16:18:50 +01:00 committed by GitHub
commit d6d4143663
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
{ lib, stdenv, file, fetchurl, makeWrapper,
autoPatchelfHook, jsoncpp, libpulseaudio }:
let
versionMajor = "7.9";
versionMinor = "2";
versionMajor = "7.10";
versionMinor = "1";
versionBuild_x86_64 = "1";
versionBuild_i686 = "1";
in
@ -14,12 +14,12 @@ in
if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_x86_64}_x86_64.tar.gz";
sha256 = "sha256-Gsi0Hj6cfpxzr0zbWfsq0ZJvCPATQn9YvHbx0Cziia4=";
sha256 = "sha256-alClFaNbQ76r8LukbygesWWXA5rx6VEzxK+bY5tOfO0=";
}
else if stdenv.hostPlatform.system == "i686-linux" then
fetchurl {
url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_i686}_i686.tar.gz";
sha256 = "sha256-zmXOLzFePAD+oH00bAkNsEFviQwkjjqC/gAv87E1qX4=";
sha256 = "sha256-UDvrjb/2rXvSvpiA+UwiVi4YyXhFLNiEtrszqjAPGXc=";
}
else
throw "NoMachine client is not supported on ${stdenv.hostPlatform.system}";