nm-tray: init at 0.4.3

This commit is contained in:
Will Dietz 2019-09-17 19:48:22 -05:00 committed by Matthieu Coudron
parent aba59a9169
commit bdcee483b6
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, qttools, qtbase, networkmanager-qt, modemmanager-qt }:
mkDerivation rec {
pname = "nm-tray";
version = "0.4.3";
src = fetchFromGitHub {
owner = "palinek";
repo = pname;
rev = version;
sha256 = "08c86kd613wlvw9571q7a3lb7g6skyyasjw6h1g543rbl4jn2c2v";
};
postPatch = ''
sed -i -e '1i#include <QMetaEnum>' src/nmmodel.cpp
'';
nativeBuildInputs = [ cmake qttools ];
cmakeFlags = [ "-DWITH_MODEMMANAGER_SUPPORT=ON" ];
buildInputs = [ qtbase networkmanager-qt modemmanager-qt ];
meta = with lib; {
description = "Simple Network Manager frontend written in Qt";
homepage = "https://github.com/palinek/nm-tray";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.linux;
};
}

View File

@ -5291,6 +5291,8 @@ in
networkmanager_dmenu = callPackage ../tools/networking/network-manager/dmenu { };
nm-tray = libsForQt5.callPackage ../tools/networking/network-manager/tray.nix { };
newsboat = callPackage ../applications/networking/feedreaders/newsboat {
inherit (darwin.apple_sdk.frameworks) Security;
};