2014-07-05 11:54:01 +00:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, qt4, networkmanager, libmm-qt }:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "libnm-qt";
|
2014-08-06 08:41:14 +00:00
|
|
|
version = "0.9.8.2";
|
2014-07-05 11:54:01 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
|
|
|
qt4
|
|
|
|
networkmanager
|
|
|
|
];
|
|
|
|
|
2014-08-11 12:43:28 +00:00
|
|
|
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
|
|
|
|
|
2014-07-05 11:54:01 +00:00
|
|
|
propagatedBuildInputs = [ libmm-qt ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/unstable/networkmanager-qt/${version}/src/${name}.tar.xz";
|
2014-08-06 08:41:14 +00:00
|
|
|
sha256 = "118fa4732536677f889b2776ec45bd0c726f26abcb8e8b6f8dfcaee265475f33";
|
2014-07-05 11:54:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://projects.kde.org/projects/extragear/libs/libnm-qt";
|
|
|
|
description = "Qt wrapper for NetworkManager DBus API";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|