2021-01-25 08:26:54 +00:00
|
|
|
{ lib, mkDerivation, fetchpatch, qtbase, qmake, inkscape, imagemagick, wpa_supplicant }:
|
2012-02-20 14:26:01 +00:00
|
|
|
|
2019-08-07 09:59:35 +00:00
|
|
|
mkDerivation {
|
2021-12-01 12:46:39 +00:00
|
|
|
pname = "wpa_gui";
|
2022-01-20 17:12:47 +00:00
|
|
|
inherit (wpa_supplicant) version src;
|
2020-05-17 06:40:30 +00:00
|
|
|
|
2017-05-01 18:55:20 +00:00
|
|
|
buildInputs = [ qtbase ];
|
2017-06-02 15:40:19 +00:00
|
|
|
nativeBuildInputs = [ qmake inkscape imagemagick ];
|
2016-10-30 21:28:08 +00:00
|
|
|
|
2020-05-17 06:40:30 +00:00
|
|
|
postPatch = ''
|
2016-10-30 21:28:08 +00:00
|
|
|
cd wpa_supplicant/wpa_gui-qt4
|
|
|
|
'';
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
make -C icons
|
|
|
|
'';
|
|
|
|
|
2017-05-01 18:55:20 +00:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -pv $out/{bin,share/applications,share/icons}
|
2016-10-30 21:28:08 +00:00
|
|
|
cp -v wpa_gui $out/bin
|
|
|
|
cp -v wpa_gui.desktop $out/share/applications
|
|
|
|
cp -av icons/hicolor $out/share/icons
|
|
|
|
'';
|
2012-02-20 14:26:01 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2012-02-20 14:26:01 +00:00
|
|
|
description = "Qt-based GUI for wpa_supplicant";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://hostap.epitest.fi/wpa_supplicant/";
|
2018-08-30 20:03:07 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
2012-02-20 14:26:01 +00:00
|
|
|
};
|
|
|
|
}
|