git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #13860 from romildo/new.uget

uget: init at 2.0.5

commitab2b2670c8b9addd675d77941db60ae45f9c672f authorjoachifm <joachifm@users.noreply.github.com> dateSat 12 Mar 2016, 14:21 (11 years ago) parent5d36644607ea3e
2 files changed+47
pkgs/tools/networking/uget/default.nix+45 pkgs/top-level/all-packages.nix+2
pkgs/tools/networking/uget/default.nixnew file+45
@@ -0,0 +1,45 @@
1+{ stdenv, fetchurl, pkgconfig, intltool, openssl, curl, libnotify, gstreamer,
2+ gst_plugins_base, gst_plugins_good, gnome3, makeWrapper, aria2 ? null }:
3+
4+stdenv.mkDerivation rec {
5+ name = "uget-${version}";
6+ version = "2.0.5";
7+
8+ src = fetchurl {
9+ url = "mirror://sourceforge/urlget/${name}.tar.gz";
10+ sha256 = "0cqz8cd8dyciam07w6ipgzj52zhf9q0zvg6ag6wz481sxkpdnfh3";
11+ };
12+
13+ nativeBuildInputs = [ pkgconfig intltool makeWrapper ];
14+
15+ buildInputs = [
16+ openssl curl libnotify gstreamer gst_plugins_base gst_plugins_good
17+ gnome3.gtk gnome3.dconf
18+ ]
19+ ++ (stdenv.lib.optional (aria2 != null) aria2);
20+
21+ 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 : "${gnome3.dconf}/lib/gio/modules"
29+ '';
30+
31+ meta = with stdenv.lib; {
32+ description = "Download manager using gtk+ and libcurl";
33+ longDescription = ''
34+ uGet is a VERY Powerful download manager application with a large
35+ inventory of features but is still very light-weight and low on
36+ resources, so don't let the impressive list of features scare you into
37+ thinking that it "might be too powerful" because remember power is good
38+ and lightweight power is uGet!
39+ '';
40+ license = licenses.lgpl21;
41+ homepage = http://www.ugetdm.com;
42+ maintainers = with maintainers; [ romildo ];
43+ platforms = platforms.unix;
44+ };
45+}
pkgs/top-level/all-packages.nix+2
@@ -3558,6 +3558,8 @@ let
35583558
35593559 ufraw = callPackage ../applications/graphics/ufraw { };
35603560
3561+ uget = callPackage ../tools/networking/uget { };
3562+
35613563 umlet = callPackage ../tools/misc/umlet { };
35623564
35633565 unetbootin = callPackage ../tools/cd-dvd/unetbootin { };