2012-02-16 18:53:51 +04:00
|
|
|
{ stdenv, fetchurl, gettext, kdelibs, kde_workspace, networkmanager, pkgconfig }:
|
2012-01-03 17:39:09 +04:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "networkmanagement";
|
2012-08-08 12:55:00 +04:00
|
|
|
version = "0.9.0.4";
|
2012-01-03 17:39:09 +04:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/unstable/${pname}/${version}/src/${name}.tar.bz2";
|
2012-08-08 12:55:00 +04:00
|
|
|
sha256 = "0mp2jai6f2qpywjwgvxcl1nh27idgy740vwiahfamq8w2y90a3aj";
|
2012-01-03 17:39:09 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ kdelibs kde_workspace networkmanager ];
|
2012-12-28 22:20:09 +04:00
|
|
|
nativeBuildInputs = [ gettext pkgconfig ];
|
2012-01-03 17:39:09 +04:00
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE="-I${kde_workspace}/include/solid/control";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://projects.kde.org/projects/extragear/base/networkmanagement;
|
|
|
|
description = "KDE Plasmoid for controlling NetworkManager";
|
|
|
|
inherit (kdelibs.meta) platforms;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
};
|
|
|
|
}
|