Merge pull request #66340 from sam-willis/qbittorrent

qbittorrent: use qt5's mkDerivation
This commit is contained in:
worldofpeace 2019-08-08 16:27:55 -04:00 committed by GitHub
commit d94667d50d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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