iwmenu: init at 0.2.0 (#412301)

This commit is contained in:
Aleksana 2025-06-10 01:57:19 +08:00 committed by GitHub
commit 3b76d8cc48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,40 @@
{
dbus,
fetchFromGitHub,
lib,
iwd,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "iwmenu";
version = "0.2.0";
src = fetchFromGitHub {
owner = "e-tho";
repo = "iwmenu";
tag = "v${version}";
hash = "sha256-F1w2Lp0/iXUHh0PXAZ/wD78C2uVtAcWlEKqBI5I/hnE=";
};
cargoHash = "sha256-NjA8n11pOytXsotEQurYxDHPhwXG5vpdlyscmVUIzfA=";
buildInputs = [
dbus
iwd
];
meta = {
homepage = "https://github.com/e-tho/iwmenu";
description = "Launcher-driven Wi-Fi manager for Linux";
longDescription = ''
Use `iwmenu --launcher <launcher command>`
Supported launchers are: `dmenu`, `fuzzel`, `rofi`, `walker` and `custom` with `stdin`
for details refer to https://github.com/e-tho/iwmenu/blob/main/README.md#usage
'';
mainProgram = "iwmenu";
platforms = lib.platforms.linux;
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ vuimuich ];
};
}