2017-09-01 15:21:16 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, openssl, curl, libnotify,
|
|
|
|
libappindicator-gtk3, gst_all_1, gnome3, wrapGAppsHook, aria2 ? null
|
|
|
|
}:
|
2016-03-12 13:05:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "uget-${version}";
|
2018-03-15 18:19:08 +00:00
|
|
|
version = "2.2.1";
|
2016-03-12 13:05:49 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/urlget/${name}.tar.gz";
|
2018-03-15 18:19:08 +00:00
|
|
|
sha256 = "0dlrjhnm1pg2vwmp7nl2xv1aia5hyirb3021rl46x859k63zap24";
|
2016-03-12 13:05:49 +00:00
|
|
|
};
|
|
|
|
|
2017-09-01 15:21:16 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2016-03-12 13:05:49 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2017-09-01 15:21:16 +01:00
|
|
|
openssl
|
|
|
|
curl
|
|
|
|
libnotify
|
|
|
|
libappindicator-gtk3
|
|
|
|
gnome3.gtk
|
|
|
|
(stdenv.lib.getLib gnome3.dconf)
|
2016-03-12 13:05:49 +00:00
|
|
|
]
|
2017-09-01 15:21:16 +01:00
|
|
|
++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good ])
|
2016-03-12 13:05:49 +00:00
|
|
|
++ (stdenv.lib.optional (aria2 != null) aria2);
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2017-09-01 15:21:16 +01:00
|
|
|
|
|
|
|
preFixup = stdenv.lib.optionalString (aria2 != null)
|
|
|
|
''gappsWrapperArgs+=(--suffix PATH : "${aria2}/bin")'';
|
2016-03-12 13:05:49 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Download manager using gtk+ and libcurl";
|
|
|
|
longDescription = ''
|
|
|
|
uGet is a VERY Powerful download manager application with a large
|
|
|
|
inventory of features but is still very light-weight and low on
|
|
|
|
resources, so don't let the impressive list of features scare you into
|
|
|
|
thinking that it "might be too powerful" because remember power is good
|
|
|
|
and lightweight power is uGet!
|
|
|
|
'';
|
|
|
|
homepage = http://www.ugetdm.com;
|
2017-09-01 15:21:16 +01:00
|
|
|
license = licenses.lgpl21;
|
2016-03-12 13:05:49 +00:00
|
|
|
platforms = platforms.unix;
|
2017-09-01 15:21:16 +01:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-03-12 13:05:49 +00:00
|
|
|
};
|
|
|
|
}
|