nm-tray: init at 0.4.3
This commit is contained in:
parent
aba59a9169
commit
bdcee483b6
31
pkgs/tools/networking/network-manager/tray.nix
Normal file
31
pkgs/tools/networking/network-manager/tray.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user