citrix_workspace: add 1906 (citrix_workspace_19_6_0)

New release available:
https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html

Apart from the new version the following things changed:

* Updated the docs as all notes about `citrix_receiver` also apply for
  `citrix_workspace`. Also added a deprecation warning about the
  upcoming removal.

* Removed the `libidn_134` override as neither `citrix_workspace_19_3_0`
  nor `citrix_workspace_19_6_0` require this library anymore according
  to `readelf -d ./result/opt/citrix-icaclient/wfica` (in contrast to
  `citrix_receiver_13_10_0`).

* Added myself as maintainer as well.
This commit is contained in:
Maximilian Bosch 2019-07-12 00:41:34 +02:00 committed by Frederik Rietdijk
parent 1eac842476
commit 0a571ae256
3 changed files with 53 additions and 33 deletions

View File

@ -409,11 +409,19 @@ overrides = self: super: rec {
</section> </section>
<section xml:id="sec-citrix"> <section xml:id="sec-citrix">
<title>Citrix Receiver</title> <title>Citrix Receiver &amp; Citrix Workspace App</title>
<para> <para>
The <link xlink:href="https://www.citrix.com/products/receiver/">Citrix <note>
Receiver</link> is a remote desktop viewer which provides access to <para>
Please note that the <literal>citrix_receiver</literal> package has been deprecated since its
development was <link xlink:href="https://docs.citrix.com/en-us/citrix-workspace-app.html">discontinued by upstream</link>
and will be replaced by <link xlink:href="https://www.citrix.com/products/workspace-app/">the citrix workspace app</link>.
</para>
</note>
<link xlink:href="https://www.citrix.com/products/receiver/">Citrix Receiver</link> and
<link xlink:href="https://www.citrix.com/products/workspace-app/">Citrix Workspace App</link>
are a remote desktop viewers which provide access to
<link xlink:href="https://www.citrix.com/products/xenapp-xendesktop/">XenDesktop</link> <link xlink:href="https://www.citrix.com/products/xenapp-xendesktop/">XenDesktop</link>
installations. installations.
</para> </para>
@ -423,30 +431,35 @@ overrides = self: super: rec {
<para> <para>
The tarball archive needs to be downloaded manually as the license The tarball archive needs to be downloaded manually as the license
agreements of the vendor need to be accepted first. This is available at agreements of the vendor for
the <link xlink:href="https://www.citrix.com/downloads/citrix-receiver/">Citrix Receiver</link>
<link xlink:href="https://www.citrix.com/downloads/citrix-receiver/">download or <link xlink:href="https://www.citrix.de/downloads/workspace-app/linux/workspace-app-for-linux-latest.html">Citrix Workspace</link>
page at citrix.com</link>. Then run <literal>nix-prefetch-url need to be accepted first.
file://$PWD/linuxx64-$version.tar.gz</literal>. With the archive available Then run <command>nix-prefetch-url file://$PWD/linuxx64-$version.tar.gz</command>.
With the archive available
in the store the package can be built and installed with Nix. in the store the package can be built and installed with Nix.
</para> </para>
<para> <warning>
<emphasis>Note: it's recommended to install <literal>Citrix <title>Caution with <command>nix-shell</command> installs</title>
Receiver</literal> using <literal>nix-env -i</literal> or globally to <para>
ensure that the <literal>.desktop</literal> files are installed properly It's recommended to install <literal>Citrix Receiver</literal>
into <literal>$XDG_CONFIG_DIRS</literal>. Otherwise it won't be possible to and/or <literal>Citrix Workspace</literal> using
open <literal>.ica</literal> files automatically from the browser to start <literal>nix-env -i</literal> or globally to
a Citrix connection.</emphasis> ensure that the <literal>.desktop</literal> files are installed properly
</para> into <literal>$XDG_CONFIG_DIRS</literal>. Otherwise it won't be possible to
open <literal>.ica</literal> files automatically from the browser to start
a Citrix connection.
</para>
</warning>
</section> </section>
<section xml:id="sec-citrix-custom-certs"> <section xml:id="sec-citrix-custom-certs">
<title>Custom certificates</title> <title>Custom certificates</title>
<para> <para>
The <literal>Citrix Receiver</literal> in <literal>nixpkgs</literal> trusts The <literal>Citrix Receiver</literal> and <literal>Citrix Workspace App</literal>
several certificates in <literal>nixpkgs</literal> trust several certificates
<link xlink:href="https://curl.haxx.se/docs/caextract.html">from the <link xlink:href="https://curl.haxx.se/docs/caextract.html">from the
Mozilla database</link> by default. However several companies using Citrix Mozilla database</link> by default. However several companies using Citrix
might require their own corporate certificate. On distros with imperative might require their own corporate certificate. On distros with imperative
@ -459,7 +472,7 @@ overrides = self: super: rec {
<programlisting> <programlisting>
<![CDATA[with import <nixpkgs> { config.allowUnfree = true; }; <![CDATA[with import <nixpkgs> { config.allowUnfree = true; };
let extraCerts = [ ./custom-cert-1.pem ./custom-cert-2.pem /* ... */ ]; in let extraCerts = [ ./custom-cert-1.pem ./custom-cert-2.pem /* ... */ ]; in
citrix_receiver.override { citrix_workspace.override { # the same applies for `citrix_receiver` if used.
inherit extraCerts; inherit extraCerts;
}]]> }]]>
</programlisting> </programlisting>

View File

@ -22,22 +22,11 @@
, fontconfig , fontconfig
, gtk_engines , gtk_engines
, alsaLib , alsaLib
, libidn
, zlib , zlib
, version ? "19.3.0" , version ? "19.6.0"
}: }:
let let
# In 56e1bdc7f9c (libidn: 1.34 -> 1.35), libidn.so.11 became libidn.so.12.
# Citrix looks for the former so we build version 1.34 to please the binary
libidn_134 = libidn.overrideDerivation (_: rec {
name = "libidn-1.34";
src = fetchurl {
url = "mirror://gnu/libidn/${name}.tar.gz";
sha256 = "0g3fzypp0xjcgr90c5cyj57apx1cmy0c6y9lvw2qdcigbyby469p";
};
});
versionInfo = let versionInfo = let
supportedVersions = { supportedVersions = {
"19.3.0" = { "19.3.0" = {
@ -48,13 +37,27 @@ let
x86hash = "1hxgj5lk5ghbpssbqjd404qr84gls967vwrh8ww5hg3pn86kyf8w"; x86hash = "1hxgj5lk5ghbpssbqjd404qr84gls967vwrh8ww5hg3pn86kyf8w";
x64suffix = "5"; x64suffix = "5";
x86suffix = "5"; x86suffix = "5";
homepage = https://www.citrix.com/downloads/workspace-app/legacy-workspace-app-for-linux/workspace-app-for-linux-1903.html;
};
"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/linux/workspace-app-for-linux-latest.html; 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
# Leaving this here even though there are no deprecations yet # Leaving this here even though there are no deprecations yet
# for ease of future maintenance # 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 deprecatedVersions = let
versions = [ ]; versions = [ ];
in in
@ -117,7 +120,6 @@ let
xorg.libXinerama xorg.libXinerama
xorg.libXfixes xorg.libXfixes
libpng12 libpng12
libidn_134
zlib zlib
gtk_engines gtk_engines
freetype freetype
@ -208,6 +210,7 @@ let
inherit homepage; inherit homepage;
description = "Citrix Workspace"; description = "Citrix Workspace";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ ma27 ];
}; };
}; };

View File

@ -2149,11 +2149,15 @@ in
}; };
citrix_workspace_unwrapped = callPackage ../applications/networking/remote/citrix-workspace { }; citrix_workspace_unwrapped = callPackage ../applications/networking/remote/citrix-workspace { };
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_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_19_3_0 = callPackage ../applications/networking/remote/citrix-workspace/wrapper.nix {
citrix_workspace = citrix_workspace_unwrapped_19_3_0; citrix_workspace = citrix_workspace_unwrapped_19_3_0;
}; };