nixpkgs/pkgs/by-name/bl/bluetui/package.nix
2024-12-22 00:35:03 +00:00

39 lines
753 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
dbus,
}:
rustPlatform.buildRustPackage rec {
pname = "bluetui";
version = "0.6";
src = fetchFromGitHub {
owner = "pythops";
repo = "bluetui";
rev = "v${version}";
hash = "sha256-JgxzpFpz/fyFZwyxTtAkG9XB5qkxj46lUnZ3mM44dHk=";
};
cargoHash = "sha256-5BBh0nkJB8Z/WkmJqi0Kb72HDPdAtjdjIprw9OEKNgo=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
dbus
];
meta = {
description = "TUI for managing bluetooth on Linux";
homepage = "https://github.com/pythops/bluetui";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ donovanglover ];
mainProgram = "bluetui";
platforms = lib.platforms.linux;
};
}