Skip to content

Commit

Permalink
citrix_workspace: remove old releases that will be EOLed during the l…
Browse files Browse the repository at this point in the history
…ifetime of 20.09

See https://www.citrix.com/en-gb/support/product-lifecycle/milestones/receiver.html

The releases `19.{6,8,10}.0` will be EOLed in 2021 during the expected
lifetime of 20.09. As we shouldn't keep outdated software and
`19.12.0`/`20.04.0`/`20.06.0` is still maintained (and I didn't
encounter any problems with any of those releases), the deprecation
should be fine at the moment.
  • Loading branch information
Ma27 committed Jul 8, 2020
1 parent 358f9c3 commit 36eb2d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 43 deletions.
46 changes: 7 additions & 39 deletions pkgs/applications/networking/remote/citrix-workspace/default.nix
Expand Up @@ -30,39 +30,6 @@
let
versionInfo = let
supportedVersions = {
"19.6.0" = {
major = "19";
minor = "6";
patch = "0";
x64hash = "0szqlfmigzgf0309i6ikxkizxaf4ri7qmhys75m0zi3bpwx6hzhs";
x86hash = "16v3kgavrh62z6vxcbw6mn7h0bfishpl7m92k7g1p2882r1f8vaf";
x64suffix = "60";
x86suffix = "60";
homepage = "https://www.citrix.com/downloads/workspace-app/legacy-workspace-app-for-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/legacy-workspace-app-for-linux/workspace-app-for-linux-1908.html";
};

"19.10.0" = {
major = "19";
minor = "10";
patch = "0";
x64hash = "1l4q4pmfiw9gmml6j5b3hls2101xf5m8p6855nhfhvqlisrj9h14";
x86hash = "000zjik8wf8b6fadnsai0p77b4n2l95544zx503iyrb9pv53bj3y";
x64suffix = "15";
x86suffix = "15";
homepage = "https://www.citrix.com/downloads/workspace-app/legacy-workspace-app-for-linux/workspace-app-for-linux-1910.html";
};

"19.12.0" = {
major = "19";
minor = "12";
Expand Down Expand Up @@ -97,18 +64,19 @@ let
};
};

# Copied this file largely from the citrix-receiver package
# Leaving this here even though there are no deprecations yet
# for ease of future maintenance.
#
# The lifespans of Citrix products can be found here:
# https://www.citrix.com/support/product-lifecycle/milestones/receiver.html
deprecatedVersions = let
versions = [ "19.3.0" ];
versions = [ "19.6.0" "19.8.0" "19.10.0" ];
in
lib.listToAttrs
(lib.forEach versions
(v: lib.nameValuePair v (throw "Unsupported citrix_workspace version: ${v}")));
(v: lib.nameValuePair v (throw ''
Unsupported citrix_workspace version: ${v}
Actively supported releases are listed here:
https://www.citrix.com/en-gb/support/product-lifecycle/milestones/receiver.html
'')));
in
deprecatedVersions // supportedVersions;

Expand Down
4 changes: 0 additions & 4 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -2564,7 +2564,6 @@ in
citrix_workspace_unwrapped_19_10_0 = citrix_workspace_unwrapped.override { version = "19.10.0"; };
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 = citrix_workspace_20_06_0;
citrix_workspace_20_06_0 = callPackage ../applications/networking/remote/citrix-workspace/wrapper.nix {
Expand All @@ -2585,9 +2584,6 @@ in
citrix_workspace_19_6_0 = callPackage ../applications/networking/remote/citrix-workspace/wrapper.nix {
citrix_workspace = citrix_workspace_unwrapped_19_6_0;
};
citrix_workspace_19_3_0 = callPackage ../applications/networking/remote/citrix-workspace/wrapper.nix {
citrix_workspace = citrix_workspace_unwrapped_19_3_0;
};

citra = libsForQt5.callPackage ../misc/emulators/citra { };

Expand Down

0 comments on commit 36eb2d2

Please sign in to comment.