transmission: fix missing optional dependencies

(cherry picked from commit 37134b6072dd01e55f12a8c3a501f7969398a808)
This commit is contained in:
Angus Trau 2021-08-14 22:35:44 +10:00 committed by github-actions[bot]
parent cbb56e4837
commit 1f61c32532

View File

@ -10,6 +10,11 @@
, systemd , systemd
, zlib , zlib
, pcre , pcre
, libb64
, libutp
, miniupnpc
, dht
, libnatpmp
# Build options # Build options
, enableGTK3 ? false , enableGTK3 ? false
, gtk3 , gtk3
@ -69,6 +74,11 @@ in stdenv.mkDerivation {
libevent libevent
zlib zlib
pcre pcre
libb64
libutp
miniupnpc
dht
libnatpmp
] ]
++ lib.optionals enableQt [ qt5.qttools qt5.qtbase ] ++ lib.optionals enableQt [ qt5.qttools qt5.qtbase ]
++ lib.optionals enableGTK3 [ gtk3 xorg.libpthreadstubs ] ++ lib.optionals enableGTK3 [ gtk3 xorg.libpthreadstubs ]
@ -123,7 +133,7 @@ in stdenv.mkDerivation {
* Full encryption, DHT, and PEX support * Full encryption, DHT, and PEX support
''; '';
homepage = "http://www.transmissionbt.com/"; homepage = "http://www.transmissionbt.com/";
license = lib.licenses.gpl2; # parts are under MIT license = lib.licenses.gpl2Plus; # parts are under MIT
maintainers = with lib.maintainers; [ astsmtl vcunat wizeman ]; maintainers = with lib.maintainers; [ astsmtl vcunat wizeman ];
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
}; };