nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 33 lines 906 B view raw
1{ 2 fetchFromGitHub, 3 lib, 4 rustPlatform, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "iwmenu"; 9 version = "0.2.0"; 10 11 src = fetchFromGitHub { 12 owner = "e-tho"; 13 repo = "iwmenu"; 14 tag = "v${version}"; 15 hash = "sha256-F1w2Lp0/iXUHh0PXAZ/wD78C2uVtAcWlEKqBI5I/hnE="; 16 }; 17 18 cargoHash = "sha256-NjA8n11pOytXsotEQurYxDHPhwXG5vpdlyscmVUIzfA="; 19 20 meta = { 21 homepage = "https://github.com/e-tho/iwmenu"; 22 description = "Launcher-driven Wi-Fi manager for Linux"; 23 longDescription = '' 24 Use `iwmenu --launcher <launcher command>` 25 Supported launchers are: `dmenu`, `fuzzel`, `rofi`, `walker` and `custom` with `stdin` 26 for details refer to https://github.com/e-tho/iwmenu/blob/main/README.md#usage 27 ''; 28 mainProgram = "iwmenu"; 29 platforms = lib.platforms.linux; 30 license = lib.licenses.gpl3Plus; 31 maintainers = with lib.maintainers; [ vuimuich ]; 32 }; 33}