12 stdenv.mkDerivation rec {
13 pname = "libclxclient";
17 url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/clxclient-${version}.tar.bz2";
18 sha256 = "10bq6fy8d3pr1x2x3xx9qhf2hdxrwdgvg843a2y6lx70y1jfj0c5";
28 nativeBuildInputs = [ pkg-config ];
30 env.NIX_CFLAGS_COMPILE = "-I${xorg.xorgproto}/include -I${libXft.dev}/include";
34 # use pkg-config instead of pkgcon:
35 sed -e 's/pkgconf/pkg-config/g' -i ./Makefile
37 sed -e "/ldconfig/d" -i ./Makefile
38 # make sure it can find clxclient.h:
39 sed -e 's/<clxclient.h>/"clxclient.h"/' -i ./enumip.cc
48 # The Makefile does not create the include directory
53 ln $out/lib/libclxclient.so $out/lib/libclxclient.so.3
57 description = "Zita X11 library";
58 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html";
59 license = licenses.lgpl21;
60 maintainers = with maintainers; [ magnetophon ];
61 platforms = platforms.linux;