mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
transmission: fix missing optional dependencies
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
, systemd
|
||||
, zlib
|
||||
, pcre
|
||||
, libb64
|
||||
, libutp
|
||||
, miniupnpc
|
||||
, dht
|
||||
, libnatpmp
|
||||
# Build options
|
||||
, enableGTK3 ? false
|
||||
, gtk3
|
||||
@@ -69,6 +74,11 @@ in stdenv.mkDerivation {
|
||||
libevent
|
||||
zlib
|
||||
pcre
|
||||
libb64
|
||||
libutp
|
||||
miniupnpc
|
||||
dht
|
||||
libnatpmp
|
||||
]
|
||||
++ lib.optionals enableQt [ qt5.qttools qt5.qtbase ]
|
||||
++ lib.optionals enableGTK3 [ gtk3 xorg.libpthreadstubs ]
|
||||
@@ -123,7 +133,7 @@ in stdenv.mkDerivation {
|
||||
* Full encryption, DHT, and PEX support
|
||||
'';
|
||||
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 ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user