nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 43 lines 1.0 kB view raw
1{ 2 dbus, 3 fetchFromGitHub, 4 lib, 5 pkg-config, 6 rustPlatform, 7}: 8 9rustPlatform.buildRustPackage rec { 10 pname = "bzmenu"; 11 version = "0.2.1"; 12 13 src = fetchFromGitHub { 14 owner = "e-tho"; 15 repo = "bzmenu"; 16 tag = "v${version}"; 17 hash = "sha256-42ZiENkqFXFhtqn26r9AIsG9sE+W0nGxm2zKdcbY5ss="; 18 }; 19 20 cargoHash = "sha256-DvnWw4yH4ghFb368cms981pENez0zTgvpMghDTrah50="; 21 22 nativeBuildInputs = [ 23 pkg-config 24 ]; 25 26 buildInputs = [ 27 dbus 28 ]; 29 30 meta = { 31 homepage = "https://github.com/e-tho/bzmenu"; 32 description = "Launcher-driven Bluetooth manager for Linux"; 33 longDescription = '' 34 Use `bzmenu --launcher <launcher command>` 35 Supported launchers are: `dmenu`, `fuzzel`, `rofi`, `walker` and `custom` with `stdin` 36 for details refer to https://github.com/e-tho/bzmenu/blob/main/README.md#usage 37 ''; 38 mainProgram = "bzmenu"; 39 platforms = lib.platforms.linux; 40 license = lib.licenses.gpl3Plus; 41 maintainers = with lib.maintainers; [ vuimuich ]; 42 }; 43}