Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
832 B
Nix
44 lines
832 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
dbus,
|
|
protobuf,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "pbpctrl";
|
|
version = "0.1.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "qzed";
|
|
repo = "pbpctrl";
|
|
rev = "v${version}";
|
|
hash = "sha256-XSRJytPrRKKWhFTBQd3Kd1R3amdecGNTmJS4PmFL6kg=";
|
|
};
|
|
|
|
cargoHash = "sha256-eDR/Z4v8G7/XPzWjJdZ5Fg2qULdn/SuNmvE/GVqSVJ8=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
protobuf
|
|
];
|
|
buildInputs = [ dbus ];
|
|
|
|
meta = with lib; {
|
|
description = "Control Google Pixel Buds Pro from the Linux command line";
|
|
homepage = "https://github.com/qzed/pbpctrl";
|
|
license = with licenses; [
|
|
asl20
|
|
mit
|
|
];
|
|
maintainers = with maintainers; [
|
|
vanilla
|
|
cafkafk
|
|
];
|
|
platforms = platforms.linux;
|
|
mainProgram = "pbpctrl";
|
|
};
|
|
}
|