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