2021-01-16 19:51:22 -08:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, intltool, openssl, curl, libnotify,
|
2019-11-30 15:11:47 -08:00
|
|
|
libappindicator-gtk3, gst_all_1, gtk3, dconf, wrapGAppsHook, aria2 ? null
|
2017-09-01 07:21:16 -07:00
|
|
|
}:
|
2016-03-12 05:05:49 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "uget";
|
2020-03-24 12:01:43 -07:00
|
|
|
version = "2.2.3-1";
|
2016-03-12 05:05:49 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "mirror://sourceforge/urlget/${pname}-${version}.tar.gz";
|
2020-03-24 12:01:43 -07:00
|
|
|
sha256 = "0jchvgkkphhwp2z7vd4axxr9ns8b6vqc22b2z8a906qm8916wd8i";
|
2016-03-12 05:05:49 -08:00
|
|
|
};
|
|
|
|
|
2017-09-01 07:21:16 -07:00
|
|
|
nativeBuildInputs = [
|
2021-01-16 19:51:22 -08:00
|
|
|
pkg-config
|
2017-09-01 07:21:16 -07:00
|
|
|
intltool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2019-03-09 03:41:12 -08:00
|
|
|
|
2016-03-12 05:05:49 -08:00
|
|
|
buildInputs = [
|
2017-09-01 07:21:16 -07:00
|
|
|
openssl
|
|
|
|
curl
|
|
|
|
libnotify
|
|
|
|
libappindicator-gtk3
|
2019-03-09 03:41:12 -08:00
|
|
|
gtk3
|
2021-01-15 01:19:50 -08:00
|
|
|
(lib.getLib dconf)
|
2016-03-12 05:05:49 -08:00
|
|
|
]
|
2017-09-01 07:21:16 -07:00
|
|
|
++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good ])
|
2021-01-15 01:19:50 -08:00
|
|
|
++ (lib.optional (aria2 != null) aria2);
|
2016-03-12 05:05:49 -08:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2017-09-01 07:21:16 -07:00
|
|
|
|
2021-01-15 01:19:50 -08:00
|
|
|
preFixup = lib.optionalString (aria2 != null)
|
2017-09-01 07:21:16 -07:00
|
|
|
''gappsWrapperArgs+=(--suffix PATH : "${aria2}/bin")'';
|
2016-03-12 05:05:49 -08:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2019-09-03 15:49:40 -07:00
|
|
|
description = "Download manager using GTK and libcurl";
|
2016-03-12 05:05:49 -08:00
|
|
|
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!
|
|
|
|
'';
|
2020-03-24 12:01:43 -07:00
|
|
|
homepage = "http://www.ugetdm.com";
|
2017-09-01 07:21:16 -07:00
|
|
|
license = licenses.lgpl21;
|
2016-03-12 05:05:49 -08:00
|
|
|
platforms = platforms.unix;
|
2017-09-01 07:21:16 -07:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-03-12 05:05:49 -08:00
|
|
|
};
|
|
|
|
}
|