1 { lib, stdenv, fetchurl, pkg-config, intltool, openssl, curl, libnotify,
2 libappindicator-gtk3, gst_all_1, gtk3, dconf, wrapGAppsHook3, aria2 ? null
5 stdenv.mkDerivation rec {
10 url = "mirror://sourceforge/urlget/${pname}-${version}.tar.gz";
11 sha256 = "0jchvgkkphhwp2z7vd4axxr9ns8b6vqc22b2z8a906qm8916wd8i";
14 # Apply upstream fix for -fno-common toolchains.
16 # TODO: remove the replace once upstream fix is released:
17 # https://sourceforge.net/p/urlget/uget2/ci/14890943c52e0a5cd2a87d8a1c51cbffebee7cf9/
18 substituteInPlace ui-gtk/UgtkBanner.h --replace "} banner;" "};"
35 ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good ])
36 ++ (lib.optional (aria2 != null) aria2);
38 enableParallelBuilding = true;
40 preFixup = lib.optionalString (aria2 != null)
41 ''gappsWrapperArgs+=(--suffix PATH : "${aria2}/bin")'';
44 description = "Download manager using GTK and libcurl";
46 uGet is a VERY Powerful download manager application with a large
47 inventory of features but is still very light-weight and low on
48 resources, so don't let the impressive list of features scare you into
49 thinking that it "might be too powerful" because remember power is good
50 and lightweight power is uGet!
52 homepage = "http://www.ugetdm.com";
53 license = licenses.lgpl21;
54 platforms = platforms.unix;
55 maintainers = with maintainers; [ romildo ];
56 mainProgram = "uget-gtk";