Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
38 lines
755 B
Nix
38 lines
755 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
dbus,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "bluetui";
|
|
version = "0.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pythops";
|
|
repo = "bluetui";
|
|
rev = "v${version}";
|
|
hash = "sha256-9svPIZzKuI4XBlxBsKucGLdX2dkfAy9ERT5oj8Su9TM=";
|
|
};
|
|
|
|
cargoHash = "sha256-w6rrZQNu5kLKEWSXFa/vSqwm76zWZug/ZqztMDY7buE=";
|
|
|
|
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;
|
|
};
|
|
}
|