1 { lib, mkDerivation, fetchFromGitHub, cmake, pkg-config, qttools, qtbase, networkmanager-qt, modemmanager-qt }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-JTH1cmkgdW2aRWMYPRvOAvCJz0ClCIpjUtcWcqJQGSU=";
15 sed -i -e '1i#include <QMetaEnum>' src/nmmodel.cpp
18 nativeBuildInputs = [ cmake pkg-config qttools ];
20 cmakeFlags = [ "-DWITH_MODEMMANAGER_SUPPORT=ON" ];
22 buildInputs = [ qtbase networkmanager-qt modemmanager-qt ];
25 description = "Simple Network Manager frontend written in Qt";
26 homepage = "https://github.com/palinek/nm-tray";
27 license = licenses.gpl2Plus;
28 maintainers = with maintainers; [ dtzWill ];
29 platforms = platforms.linux;