3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #67715 from Ma27/citrix-workspace-1908

citrix_workspace: add 1908 (`citrix_workspace_19_8_0`)
This commit is contained in:
Aaron Andersen 2019-08-30 07:18:47 -04:00 committed by GitHub
commit 88c3f36033
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View file

@ -23,7 +23,7 @@
, gtk_engines , gtk_engines
, alsaLib , alsaLib
, zlib , zlib
, version ? "19.6.0" , version ? "19.8.0"
}: }:
let let
@ -50,6 +50,17 @@ let
x86suffix = "60"; x86suffix = "60";
homepage = https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html; homepage = https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html;
}; };
"19.8.0" = {
major = "19";
minor = "8";
patch = "0";
x64hash = "0f8djw8lp5wihb23y09yac1mh09w1qp422h72r6zfx9k1lqfsdbw";
x86hash = "0afcqirb4q349r3izy88vqkszg6y2wg14iwypk6nrmvwgvcl6jdn";
x64suffix = "20";
x86suffix = "20";
homepage = https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html;
};
}; };
# Copied this file largely from the citrix-receiver package # Copied this file largely from the citrix-receiver package
@ -75,6 +86,8 @@ let
prefixWithBitness = if stdenv.is64bit then "linuxx64" else "linuxx86"; prefixWithBitness = if stdenv.is64bit then "linuxx64" else "linuxx86";
preferLocalBuild = true;
src = requireFile rec { src = requireFile rec {
name = if stdenv.is64bit then "${prefixWithBitness}-${version}.${x64suffix}.tar.gz" else "${prefixWithBitness}-${version}.${x86suffix}.tar.gz"; name = if stdenv.is64bit then "${prefixWithBitness}-${version}.${x64suffix}.tar.gz" else "${prefixWithBitness}-${version}.${x86suffix}.tar.gz";
sha256 = if stdenv.is64bit then x64hash else x86hash; sha256 = if stdenv.is64bit then x64hash else x86hash;

View file

@ -2229,12 +2229,16 @@ in
}; };
citrix_workspace_unwrapped = callPackage ../applications/networking/remote/citrix-workspace { }; citrix_workspace_unwrapped = callPackage ../applications/networking/remote/citrix-workspace { };
citrix_workspace_unwrapped_19_8_0 = citrix_workspace_unwrapped.override { version = "19.8.0"; };
citrix_workspace_unwrapped_19_6_0 = citrix_workspace_unwrapped.override { version = "19.6.0"; }; citrix_workspace_unwrapped_19_6_0 = citrix_workspace_unwrapped.override { version = "19.6.0"; };
citrix_workspace_unwrapped_19_3_0 = citrix_workspace_unwrapped.override { version = "19.3.0"; }; citrix_workspace_unwrapped_19_3_0 = citrix_workspace_unwrapped.override { version = "19.3.0"; };
citrix_workspace = callPackage ../applications/networking/remote/citrix-workspace/wrapper.nix { citrix_workspace = callPackage ../applications/networking/remote/citrix-workspace/wrapper.nix {
citrix_workspace = citrix_workspace_unwrapped; citrix_workspace = citrix_workspace_unwrapped;
}; };
citrix_workspace_19_8_0 = callPackage ../applications/networking/remote/citrix-workspace/wrapper.nix {
citrix_workspace = citrix_workspace_unwrapped_19_8_0;
};
citrix_workspace_19_6_0 = callPackage ../applications/networking/remote/citrix-workspace/wrapper.nix { citrix_workspace_19_6_0 = callPackage ../applications/networking/remote/citrix-workspace/wrapper.nix {
citrix_workspace = citrix_workspace_unwrapped_19_6_0; citrix_workspace = citrix_workspace_unwrapped_19_6_0;
}; };