qbittorrent: Fix missing desktop file (#45288)

This commit is contained in:
チルノ 2018-08-17 21:44:56 -05:00 committed by Orivej Desh (NixOS)
parent e4561a275f
commit 85c4d48641

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig
, boost, libtorrentRasterbar, qtbase, qttools, qtsvg
, debugSupport ? false # Debugging
, guiSupport ? true, dbus ? null # GUI (disable to run headless)
@ -19,6 +19,14 @@ stdenv.mkDerivation rec {
sha256 = "1756hr92rvh4xlf6bk2wl24ypczhwf1rv1pdq05flk118jciqb05";
};
patches = [
(fetchpatch {
name = "fix-desktop-file-regression.patch";
url = "https://github.com/qbittorrent/qBittorrent/commit/078325a3eb85c286b9a3454192ed2deadeda604c.patch";
sha256 = "1xhpd4ncy2m9zxsllizkry2013ij0ii9p8b8jbb35sazw5p50c96";
})
];
# NOTE: 2018-05-31: CMake is working but it is not officially supported
nativeBuildInputs = [ pkgconfig ];