nixpkgs/pkgs/tools/networking/uget/default.nix

51 lines
1.4 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, openssl, curl, libnotify,
2019-11-30 23:11:47 +00:00
libappindicator-gtk3, gst_all_1, gtk3, dconf, wrapGAppsHook, aria2 ? null
}:
2016-03-12 13:05:49 +00:00
stdenv.mkDerivation rec {
pname = "uget";
2020-03-24 19:01:43 +00:00
version = "2.2.3-1";
2016-03-12 13:05:49 +00:00
src = fetchurl {
url = "mirror://sourceforge/urlget/${pname}-${version}.tar.gz";
2020-03-24 19:01:43 +00:00
sha256 = "0jchvgkkphhwp2z7vd4axxr9ns8b6vqc22b2z8a906qm8916wd8i";
2016-03-12 13:05:49 +00:00
};
nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];
2016-03-12 13:05:49 +00:00
buildInputs = [
openssl
curl
libnotify
libappindicator-gtk3
gtk3
2019-11-30 23:11:47 +00:00
(stdenv.lib.getLib dconf)
2016-03-12 13:05:49 +00: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;
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";
2016-03-12 13:05:49 +00: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 19:01:43 +00:00
homepage = "http://www.ugetdm.com";
license = licenses.lgpl21;
2016-03-12 13:05:49 +00:00
platforms = platforms.unix;
maintainers = with maintainers; [ romildo ];
2016-03-12 13:05:49 +00:00
};
}