1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/tools/networking/uget/default.nix
romildo 1f48ad8699 uget: 2.0.8 -> 2.0.10
- Update to version 2.0.10
- Use wrapGAppsHook to wrap binaries
- Use gstreamer-1.0
- Add dependence on libappindicator
2017-09-01 11:22:28 -03:00

51 lines
1.4 KiB
Nix

{ stdenv, fetchurl, pkgconfig, intltool, openssl, curl, libnotify,
libappindicator-gtk3, gst_all_1, gnome3, wrapGAppsHook, aria2 ? null
}:
stdenv.mkDerivation rec {
name = "uget-${version}";
version = "2.0.10";
src = fetchurl {
url = "mirror://sourceforge/urlget/${name}.tar.gz";
sha256 = "1zldsiy83xxpm8jdh1i9h7zrh8ak52srgy38fiyszysfapl8nx8a";
};
nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];
buildInputs = [
openssl
curl
libnotify
libappindicator-gtk3
gnome3.gtk
(stdenv.lib.getLib gnome3.dconf)
]
++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good ])
++ (stdenv.lib.optional (aria2 != null) aria2);
enableParallelBuilding = true;
preFixup = stdenv.lib.optionalString (aria2 != null)
''gappsWrapperArgs+=(--suffix PATH : "${aria2}/bin")'';
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;
license = licenses.lgpl21;
platforms = platforms.unix;
maintainers = with maintainers; [ romildo ];
};
}