catclock: use xorg.* packages directly instead of xlibsWrapper indirection

Validated by `diffoscope`: `out` output differs only by RUNPATH
libraries order.
This commit is contained in:
Sergei Trofimovich 2022-10-08 08:32:39 +01:00
parent 473e97e434
commit 1c12d6decf

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, xlibsWrapper, motif
{ stdenv, lib, fetchFromGitHub, motif, xorg
, withAudioTracking ? false, libpulseaudio, aubio }:
stdenv.mkDerivation {
@ -21,7 +21,7 @@ stdenv.mkDerivation {
makeFlags = [ "DESTINATION=$(out)/bin/" ]
++ lib.optional withAudioTracking "WITH_TEMPO_TRACKER=1";
buildInputs = [ xlibsWrapper motif ]
buildInputs = [ motif xorg.libX11 xorg.libXext xorg.libXt ]
++ lib.optionals withAudioTracking [ libpulseaudio aubio ];
meta = with lib; {