nomachine-client: 6.4.6_1 -> 6.5.6 (#56269)
Update package. Also, since the last digit differs between the 32- and 64-bit version, remove it from the version number and introduce two separate variables - one for each architecture.
This commit is contained in:
@@ -1,23 +1,25 @@
|
|||||||
{ stdenv, lib, file, fetchurl, makeWrapper,
|
{ stdenv, lib, file, fetchurl, makeWrapper,
|
||||||
autoPatchelfHook, jsoncpp, libpulseaudio }:
|
autoPatchelfHook, jsoncpp, libpulseaudio }:
|
||||||
let
|
let
|
||||||
versionMajor = "6.4";
|
versionMajor = "6.5";
|
||||||
versionMinor = "6_1";
|
versionMinor = "6";
|
||||||
|
versionBuild_x86_64 = "9";
|
||||||
|
versionBuild_i686 = "8";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nomachine-client-${version}";
|
pname = "nomachine-client";
|
||||||
version = "${versionMajor}.${versionMinor}";
|
version = "${versionMajor}.${versionMinor}";
|
||||||
|
|
||||||
src =
|
src =
|
||||||
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}_x86_64.tar.gz";
|
url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_x86_64}_x86_64.tar.gz";
|
||||||
sha256 = "141pv277kl5ij1pmc0iadc0hnslxri2qaqvsjkmmvls4432jh0yi";
|
sha256 = "07lg5yadxpl5qfvvh067b3kxd8hm3xv95ralm2pyjl4lw6aql46p";
|
||||||
}
|
}
|
||||||
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}_i686.tar.gz";
|
url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_i686}_i686.tar.gz";
|
||||||
sha256 = "0a2vi4ygw34yw8rcjhw17mqx5qbjnym4jkap8paik8lisb5mhnyj";
|
sha256 = "1a23isw09vicazkrypq0kxbb8qy2i4vxiarrgz5xmasjhiy5999a";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
throw "NoMachine client is not supported on ${stdenv.hostPlatform.system}";
|
throw "NoMachine client is not supported on ${stdenv.hostPlatform.system}";
|
||||||
|
|||||||
Reference in New Issue
Block a user