qbittorrent: use qt5's mkDerivation

Fixes #66339

See: #65399
This commit is contained in:
Sam Willis 2019-08-08 20:33:45 +01:00 committed by worldofpeace
parent 843eb3a951
commit d81a46364f

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig
{ mkDerivation, lib, fetchFromGitHub, pkgconfig
, boost, libtorrentRasterbar, qtbase, qttools, qtsvg
, debugSupport ? false # Debugging
, guiSupport ? true, dbus ? null # GUI (disable to run headless)
@ -6,9 +6,9 @@
}:
assert guiSupport -> (dbus != null);
with stdenv.lib;
with lib;
stdenv.mkDerivation rec {
mkDerivation rec {
name = "qbittorrent-${version}";
version = "4.1.7";