2023-06-20 15:19:03 +00:00
|
|
|
{ pkgs }:
|
|
|
|
pkgs.rustPlatform.buildRustPackage rec {
|
2023-06-19 18:25:08 +00:00
|
|
|
pname = "pads";
|
|
|
|
version = "89d69d4b9b199e08671c947120d5b2e1b6295d68";
|
|
|
|
|
2023-06-20 15:19:03 +00:00
|
|
|
src = pkgs.fetchFromGitHub {
|
2023-06-19 18:25:08 +00:00
|
|
|
owner = "dogue";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-vVmEKvRSBiHv4skh2/B6cl17jVsgRI0IJeSgpSpPPTE=";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoLock = { lockFile = "${src}/Cargo.lock"; };
|
|
|
|
|
2023-06-20 15:19:03 +00:00
|
|
|
nativeBuildInputs = [ pkgs.pkg-config ];
|
|
|
|
buildInputs = [ pkgs.libpulseaudio ];
|
2023-06-19 18:25:08 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description =
|
|
|
|
"A simple CLI tool for swtiching the default/active output device for PulseAudio.";
|
|
|
|
homepage = "https://github.com/dogue/pads";
|
|
|
|
};
|
|
|
|
}
|