1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 02:46:28 +00:00
nixpkgs/pkgs/tools/networking/plasma-nm/default.nix

30 lines
859 B
Nix
Raw Normal View History

{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
, kdelibs, networkmanager, libnm-qt, glib }:
let
pname = "plasma-nm";
2014-10-14 12:05:16 +01:00
version = "0.9.3.4";
name = "${pname}-${version}";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
2014-10-14 12:05:16 +01:00
url = "mirror://kde/stable/${pname}/${name}.tar.xz";
sha256 = "0xj14isvjq8ll70b6q66n8adm8ff4j9ng195ndk2gmavjf6bb751";
};
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/glib-2.0 -I${glib.out}/lib/glib-2.0/include";
nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ];
buildInputs = [ 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;
};
}