Skip to content

Commit

Permalink
citrix_workspace: add 1908 (citrix_workspace_19_8_0)
Browse files Browse the repository at this point in the history
New release:
https://www.citrix.de/downloads/workspace-app/linux/workspace-app-for-linux-latest.html
(unfortunately there's no version-specific link for the latest version).

Also added `preferLocalBuild = true;` to the derivation, due to
`requireFile` you have to build it yourself anyway, however I use
distributed builds by default and figured that this shouldn't be needed
since the longest part of the build would be the upload of the source
archive in that case.
  • Loading branch information
Ma27 committed Aug 29, 2019
1 parent f86bbb2 commit 87f818d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
15 changes: 14 additions & 1 deletion pkgs/applications/networking/remote/citrix-workspace/default.nix
Expand Up @@ -23,7 +23,7 @@
, gtk_engines
, alsaLib
, zlib
, version ? "19.6.0"
, version ? "19.8.0"
}:

let
Expand All @@ -50,6 +50,17 @@ let
x86suffix = "60";
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
Expand All @@ -75,6 +86,8 @@ let

prefixWithBitness = if stdenv.is64bit then "linuxx64" else "linuxx86";

preferLocalBuild = true;

src = requireFile rec {
name = if stdenv.is64bit then "${prefixWithBitness}-${version}.${x64suffix}.tar.gz" else "${prefixWithBitness}-${version}.${x86suffix}.tar.gz";
sha256 = if stdenv.is64bit then x64hash else x86hash;
Expand Down
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -2229,12 +2229,16 @@ in
};

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_3_0 = citrix_workspace_unwrapped.override { version = "19.3.0"; };

citrix_workspace = callPackage ../applications/networking/remote/citrix-workspace/wrapper.nix {
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 = citrix_workspace_unwrapped_19_6_0;
};
Expand Down

0 comments on commit 87f818d

Please sign in to comment.