2015-09-27 17:11:01 +02:00
|
|
|
{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
|
2015-10-25 17:15:35 +01:00
|
|
|
, kdelibs, networkmanager, libnm-qt, glib }:
|
2014-07-05 13:54:01 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "plasma-nm";
|
2014-10-14 13:05:16 +02:00
|
|
|
version = "0.9.3.4";
|
2014-07-05 13:54:01 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-10-14 13:05:16 +02:00
|
|
|
url = "mirror://kde/stable/${pname}/${name}.tar.xz";
|
|
|
|
sha256 = "0xj14isvjq8ll70b6q66n8adm8ff4j9ng195ndk2gmavjf6bb751";
|
2014-07-05 13:54:01 +02:00
|
|
|
};
|
|
|
|
|
2015-10-25 17:15:35 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include";
|
|
|
|
|
2015-09-27 17:11:01 +02:00
|
|
|
nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ kdelibs networkmanager libnm-qt ];
|
2014-07-05 13:54:01 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://projects.kde.org/projects/kde/workspace/plasma-nm";
|
|
|
|
description = "Plasma applet written in QML for managing network connections";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
inherit (kdelibs.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|