2014-07-05 13:54:01 +02:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, qt4, networkmanager, libmm-qt }:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "libnm-qt";
|
2014-08-06 10:41:14 +02:00
|
|
|
version = "0.9.8.2";
|
2014-07-05 13:54:01 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
|
|
|
qt4
|
|
|
|
networkmanager
|
|
|
|
];
|
|
|
|
|
2014-08-11 14:43:28 +02:00
|
|
|
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
|
|
|
|
|
2014-07-05 13:54:01 +02:00
|
|
|
propagatedBuildInputs = [ libmm-qt ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/unstable/networkmanager-qt/${version}/src/${name}.tar.xz";
|
2014-08-06 10:41:14 +02:00
|
|
|
sha256 = "118fa4732536677f889b2776ec45bd0c726f26abcb8e8b6f8dfcaee265475f33";
|
2014-07-05 13:54:01 +02: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;
|
2014-07-22 23:45:18 +02:00
|
|
|
maintainers = [ maintainers.jgeerds ];
|
2014-07-05 13:54:01 +02:00
|
|
|
};
|
|
|
|
}
|