2011-03-26 18:18:32 +00:00
|
|
|
{ stdenv, fetchurl, intltool, pkgconfig, gtk, glib, libglade
|
2012-03-08 16:49:14 +00:00
|
|
|
, networkmanager, GConf, libnotify, libgnome_keyring, dbus_glib
|
2012-03-01 07:04:39 +00:00
|
|
|
, polkit, isocodes }:
|
2011-09-14 17:52:06 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
pn = "network-manager-applet";
|
|
|
|
major = "0.9";
|
2012-02-29 13:30:04 +00:00
|
|
|
version = "${major}.2.0";
|
2011-09-14 17:52:06 +01:00
|
|
|
in
|
2011-03-26 18:18:32 +00:00
|
|
|
|
2011-09-14 17:52:06 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2011-03-26 18:18:32 +00:00
|
|
|
name = "network-manager-applet-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-09-14 17:52:06 +01:00
|
|
|
url = "mirror://gnome/sources/${pn}/${major}/${name}.tar.xz";
|
2012-02-29 13:30:04 +00:00
|
|
|
sha256 = "ebe725d0140f658c6a3f384674c72fba7a7c417df3be0e84ee8f45e6dfc219de";
|
2011-03-26 18:18:32 +00:00
|
|
|
};
|
|
|
|
|
2012-03-08 16:49:14 +00:00
|
|
|
buildInputs = [ gtk libglade networkmanager GConf libnotify libgnome_keyring
|
2012-02-29 13:30:04 +00:00
|
|
|
polkit isocodes ];
|
2011-09-14 17:52:06 +01:00
|
|
|
|
2012-01-18 20:53:01 +00:00
|
|
|
buildNativeInputs = [ intltool pkgconfig ];
|
2011-03-26 18:18:32 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://projects.gnome.org/NetworkManager/;
|
2011-09-14 17:52:06 +01:00
|
|
|
description = "NetworkManager control applet for GNOME";
|
2011-03-26 18:18:32 +00:00
|
|
|
license = licenses.gpl2;
|
2011-09-14 17:52:06 +01:00
|
|
|
maintainers = [ maintainers.phreedom maintainers.urkud ];
|
2011-03-26 18:18:32 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2011-09-14 17:52:06 +01:00
|
|
|
}
|