summaryrefslogtreecommitdiff
path: root/pkgs/by-name/ea/earbuds/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ea/earbuds/package.nix')
-rw-r--r--pkgs/by-name/ea/earbuds/package.nix13
1 files changed, 3 insertions, 10 deletions
diff --git a/pkgs/by-name/ea/earbuds/package.nix b/pkgs/by-name/ea/earbuds/package.nix
index 0145ff7c3293..ec766e56e22a 100644
--- a/pkgs/by-name/ea/earbuds/package.nix
+++ b/pkgs/by-name/ea/earbuds/package.nix
@@ -4,11 +4,10 @@
rustPlatform,
fetchFromGitHub,
installShellFiles,
- nix-update-script,
pkg-config,
+ bluez,
dbus,
libpulseaudio,
- bluez,
}:
rustPlatform.buildRustPackage {
pname = "earbuds";
@@ -30,25 +29,19 @@ rustPlatform.buildRustPackage {
cargoHash = "sha256-Y1pMmWxfXGcEFPj05/BpXQvd199O5l6hJmePNxMQc/Y=";
nativeBuildInputs = [
- pkg-config
installShellFiles
+ pkg-config
];
buildInputs = [
+ bluez
dbus
libpulseaudio
- bluez
];
# package does not contain any tests
doCheck = false;
- # nativeInstallCheckInputs = [
- # versionCheckHook
- # ];
- # versionCheckProgramArg = [ "--version" ];
- # doInstallCheck = true;
-
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd earbuds \
--bash <($out/bin/earbuds --generate bash) \