* Use -rc version instead of a git checkout. Rename derivation
accordingly;
* Change PLUGIN_PATH similar to Arch;
* Fix install phase so that random files aren't installed and plugins
use separate directory;
* Use linkSoVersions to remove duplicate libraries.
This is a refactoring of "tdesktop", i.e. the resulting derivation isn't
affected by this commit (only the tdesktopPackages.* attributes are
removed).
I decided to remove the attributes "tdesktopPackages.*" as I don't
maintain the preview version anymore. There are regular stable releases
and we depend on the patches from Arch Linux which only track the stable
version as well, i.e. I would have to maintain our own patches, which
would either require an additional repository or "bloat" Nixpkgs (apart
from the fact that it would be unnecessarily time-consuming).
The TUI library aerc uses, tcell, comes with a built-in database of
terminal definitions. For terminals not in this database (e.g.
Alacritty), an entry is generated dynamically using infocmp, part of
ncurses' dev output.
Wire Desktop is available for linux, mac os and windows. I figured
adding darwin support would be cromulent. Note that the versions don't
align 100%, this is how it's released upstream.
I refactored the derivation to seperate all the linux-specific parts. I
also sorted the dependencies and grouped them.
The changes were based on the derivation for electron. I changed the
construction from calling `mkDerivation` on a conditional merger of two
sets by moving the `mkDerivation` calls into the conditional and up to
the local bindings for `linux` and `darwin`. This required moving
`pname` and `meta` up to local bindings.
Added a `longDescription` and `downloadPage`. Also added myself to
`maintainers`.
I fixed up the `license` because it's actually GPLv3 *or later*.
Note that terms and conditions apply though I don't feel like they
violate the GPL-ness of the code.
Fixes the following error:
```
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized.
Reinstalling the application may fix this problem.
```
See also #54484 and others.