Merge pull request #28840 from romildo/upd.uget

uget: 2.0.8 -> 2.0.10

authored by Joachim F and committed by GitHub 189797c7 e4bc14f6

+22 -17
+22 -17
pkgs/tools/networking/uget/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, openssl, curl, libnotify, gstreamer, 2 - gst-plugins-base, gst-plugins-good, gnome3, makeWrapper, aria2 ? null }: 1 + { stdenv, fetchurl, pkgconfig, intltool, openssl, curl, libnotify, 2 + libappindicator-gtk3, gst_all_1, gnome3, wrapGAppsHook, aria2 ? null 3 + }: 3 4 4 5 stdenv.mkDerivation rec { 5 6 name = "uget-${version}"; 6 - version = "2.0.8"; 7 + version = "2.0.10"; 7 8 8 9 src = fetchurl { 9 10 url = "mirror://sourceforge/urlget/${name}.tar.gz"; 10 - sha256 = "0919cf7lfk1djdl003cahqjvafdliv7v2l8r5wg95n4isqggdk75"; 11 + sha256 = "1zldsiy83xxpm8jdh1i9h7zrh8ak52srgy38fiyszysfapl8nx8a"; 11 12 }; 12 13 13 - nativeBuildInputs = [ pkgconfig intltool makeWrapper ]; 14 + nativeBuildInputs = [ 15 + pkgconfig 16 + intltool 17 + wrapGAppsHook 18 + ]; 14 19 15 20 buildInputs = [ 16 - openssl curl libnotify gstreamer gst-plugins-base gst-plugins-good 17 - gnome3.gtk (stdenv.lib.getLib gnome3.dconf) 21 + openssl 22 + curl 23 + libnotify 24 + libappindicator-gtk3 25 + gnome3.gtk 26 + (stdenv.lib.getLib gnome3.dconf) 18 27 ] 28 + ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good ]) 19 29 ++ (stdenv.lib.optional (aria2 != null) aria2); 20 30 21 31 enableParallelBuilding = true; 22 - 23 - preFixup = '' 24 - wrapProgram $out/bin/uget-gtk \ 25 - ${stdenv.lib.optionalString (aria2 != null) ''--suffix PATH : "${aria2}/bin"''} \ 26 - --prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH" \ 27 - --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" \ 28 - --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" 29 - ''; 32 + 33 + preFixup = stdenv.lib.optionalString (aria2 != null) 34 + ''gappsWrapperArgs+=(--suffix PATH : "${aria2}/bin")''; 30 35 31 36 meta = with stdenv.lib; { 32 37 description = "Download manager using gtk+ and libcurl"; ··· 37 42 thinking that it "might be too powerful" because remember power is good 38 43 and lightweight power is uGet! 39 44 ''; 40 - license = licenses.lgpl21; 41 45 homepage = http://www.ugetdm.com; 42 - maintainers = with maintainers; [ romildo ]; 46 + license = licenses.lgpl21; 43 47 platforms = platforms.unix; 48 + maintainers = with maintainers; [ romildo ]; 44 49 }; 45 50 }