Merge pull request #3186 from geerds/plasma-nm

Packaging plasma-nm and its dependencies
This commit is contained in:
cillianderoiste 2014-07-05 15:24:37 +02:00
commit dd826b86a8
5 changed files with 103 additions and 0 deletions

View File

@ -48,6 +48,7 @@
iElectric = "Domen Kozar <domen@dev.si>";
iyzsong = "Song Wenwu <iyzsong@gmail.com>";
jcumming = "Jack Cummings <jack@mudshark.org>";
jgeerds = "Jascha Geerds <jg@ekby.de>";
joamaki = "Jussi Maki <joamaki@gmail.com>";
joelteon = "Joel Taylor <me@joelt.io>";
jwiegley = "John Wiegley <johnw@newartisans.com>";

View File

@ -0,0 +1,32 @@
{ stdenv, fetchurl, cmake, pkgconfig, qt4, doxygen, modemmanager }:
let
pname = "libmm-qt";
version = "1.0.1";
name = "${pname}-${version}";
in
stdenv.mkDerivation {
inherit name;
buildInputs = [
cmake
pkgconfig
qt4
doxygen
];
propagatedBuildInputs = [ modemmanager ];
src = fetchurl {
url = "mirror://kde/unstable/modemmanager-qt/${version}/src/${name}-1.tar.xz";
sha256 = "0ad57815a904ddb2660a7327c0bda5da47a2a60ce57b2b12f4aaff99b174f74a";
};
meta = with stdenv.lib; {
homepage = "https://projects.kde.org/projects/extragear/libs/libmm-qt";
description = "Qt wrapper for ModemManager DBus API";
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = [ maintainers.jgeerds ];
};
}

View File

@ -0,0 +1,32 @@
{ stdenv, fetchurl, cmake, pkgconfig, qt4, networkmanager, libmm-qt }:
let
pname = "libnm-qt";
version = "0.9.8.1";
name = "${pname}-${version}";
in
stdenv.mkDerivation {
inherit name;
buildInputs = [
cmake
pkgconfig
qt4
networkmanager
];
propagatedBuildInputs = [ libmm-qt ];
src = fetchurl {
url = "mirror://kde/unstable/networkmanager-qt/${version}/src/${name}.tar.xz";
sha256 = "cde8bed2beb57015cb5f6772c1fe0843aab299b9529578c5406ba7fe614af23d";
};
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;
maintainer = [ maintainers.jgeerds ];
};
}

View File

@ -0,0 +1,32 @@
{ stdenv, fetchurl, pkgconfig, cmake, gettext, kdelibs, networkmanager, libnm-qt }:
let
pname = "plasma-nm";
version = "0.9.3.3";
name = "${pname}-${version}";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "mirror://kde/unstable/${pname}/${name}.tar.xz";
sha256 = "099cbe86eb989c4fda8cdcc0f8721dc3350cc6735c3f50bcdd94661e5930e326";
};
buildInputs = [
cmake
pkgconfig
gettext
kdelibs
networkmanager
libnm-qt
];
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;
maintainers = [ maintainers.jgeerds ];
};
}

View File

@ -10565,10 +10565,16 @@ let
liblikeback = callPackage ../development/libraries/liblikeback { };
libmm-qt = callPackage ../development/libraries/libmm-qt { };
libnm-qt = callPackage ../development/libraries/libnm-qt { };
networkmanagement = callPackage ../tools/networking/networkmanagement { };
partitionManager = callPackage ../tools/misc/partition-manager { };
plasma-nm = callPackage ../tools/networking/plasma-nm { };
polkit_kde_agent = callPackage ../tools/security/polkit-kde-agent { };
psi = callPackage ../applications/networking/instant-messengers/psi { };