cleanup unused deps

This commit is contained in:
Gabriel Fontes
2023-06-11 19:47:04 -03:00
parent 5b573abcc6
commit fc2336facd
2 changed files with 4 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
{ lib, rustPlatform, pkg-config, autoconf, alsa-lib, automake, libopus, ffmpeg, makeWrapper }:
{ lib, rustPlatform, pkg-config, libopus }:
let manifest = (lib.importTOML ./Cargo.toml).package;
in rustPlatform.buildRustPackage {
@@ -7,8 +7,8 @@ in rustPlatform.buildRustPackage {
src = lib.cleanSource ./.;
nativeBuildInputs = [ pkg-config autoconf automake makeWrapper ];
buildInputs = [ alsa-lib libopus ffmpeg ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libopus ];
cargoLock = {
lockFile = ./Cargo.lock;
@@ -20,10 +20,6 @@ in rustPlatform.buildRustPackage {
};
};
postFixup = ''
wrapProgram $out/bin/disconic --set PATH ${lib.makeBinPath [ ffmpeg ]}
'';
meta = with lib; {
description = manifest.description;
homepage = manifest.homepage;