mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-27 00:10:12 +00:00
halloy: Enable Tor support
This commit adds a new parameter to the halloy derivation called `withTor`, which is enabled by default and builds Halloy with it's built-in Tor integration realized using Arti. Halloy has been supporting this for about two years now and is to my knowledge the only IRC client that natively supports a Tor proxy without the need for a SOCKS5/HTTP proxy setup. See also: https://halloy.chat/configuration/proxy#tor
This commit is contained in:
@@ -184,6 +184,8 @@
|
||||
|
||||
- `python3Packages.tensorflow-build` and `libtensorflow` have been removed, as they had been broken for years. Use `python3Packages.tensorflow` (`tensorflow-bin`) instead. The `withTensorflow` options of `ffmpeg` and `snips-sh` have been removed accordingly.
|
||||
|
||||
- `halloy` now builds with Tor proxy support by default using Arti, which can be disabled by overriding `withTor` with `false`.
|
||||
|
||||
- `postgresqlPackages.anonymizer` has been updated from 2.4.1 to 3.2.2. The extension must be dropped and recreated, and masking no longer runs as a superuser. See the [upgrade notes](https://postgresql-anonymizer.readthedocs.io/en/stable/UPGRADE/) for details. `pg-dump-anon` has been removed as it was removed upstream. Use `pg_dump` with a masked role instead.
|
||||
|
||||
- `landrun` was updated to `0.1.17`, which included breaking changes, reference the [breaking changes](https://github.com/Zouuup/landrun/releases/tag/v0.1.17) section in the `landrun` release notes.
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
libx11,
|
||||
libxcb,
|
||||
alsa-lib,
|
||||
zstd,
|
||||
|
||||
# Halloy comes with native support for a Tor proxy using Arti
|
||||
# https://halloy.chat/configuration/proxy#tor
|
||||
withTor ? true,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
@@ -33,6 +38,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
cargoHash = "sha256-S/6JHaAbT6aylj9qx40YEiMpN7Am8RFy2EpoYkbaWl4=";
|
||||
|
||||
buildFeatures = lib.optional withTor "tor";
|
||||
|
||||
nativeBuildInputs = [
|
||||
copyDesktopItems
|
||||
makeBinaryWrapper
|
||||
@@ -52,6 +59,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
libxcursor
|
||||
libxi
|
||||
libxcb
|
||||
]
|
||||
++ lib.optionals withTor [
|
||||
zstd
|
||||
];
|
||||
|
||||
desktopItems = [
|
||||
|
||||
Reference in New Issue
Block a user