Unverified Commit 3b76d8cc authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

iwmenu: init at 0.2.0 (#412301)

parents 76ac49f3 d0c2fbd2
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}