13 stdenv.mkDerivation rec {
17 src = fetchFromGitHub {
21 sha256 = "sha256-/Nxti4PfYVLnIiBgtAuR3KGI8dULszuSdTp+2DzBfbs=";
24 # patch systemd service to pass necessary environments and use absolute paths
25 patches = [ ./systemd-service.patch ];
27 nativeBuildInputs = [ meson ninja pkg-config scdoc wrapGAppsHook4 ];
29 buildInputs = [ gtk4 qrencode ];
32 substituteInPlace $out/lib/systemd/user/iwgtk.service --subst-var out
36 description = "Lightweight, graphical wifi management utility for Linux";
37 homepage = "https://github.com/j-lentz/iwgtk";
38 changelog = "https://github.com/j-lentz/iwgtk/blob/v${version}/CHANGELOG";
39 license = licenses.gpl3Only;
40 maintainers = with maintainers; [ figsoda ];
41 platforms = platforms.linux;
42 mainProgram = "iwgtk";