nixpkgs-suyu/pkgs/development/libraries/libclxclient/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

41 lines
1 KiB
Nix

{ stdenv, fetchurl, libclthreads, libX11, libXft, xorg }:
stdenv.mkDerivation rec {
name = "libclxclient-${version}";
version = "3.9.0";
src = fetchurl {
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/clxclient-${version}.tar.bz2";
sha256 = "14l7xrh964gllymraq4n5pgax94p5jsfjslqi5c6637zc4lmgnl0";
};
buildInputs = [ libclthreads libX11 libXft xorg.xproto ];
NIX_CFLAGS_COMPILE = "-I${xorg.xproto}/include -I${libXft.dev}/include";
patchPhase = ''
sed -e "s@ldconfig@@" -i Makefile
'';
makeFlags = [
"PREFIX=$(out)"
"SUFFIX=''"
];
preInstall = ''
# The Makefile does not create the include directory
mkdir -p $out/include
'';
postInstall = ''
ln $out/lib/libclxclient.so $out/lib/libclxclient.so.3
'';
meta = with stdenv.lib; {
description = "Zita X11 library";
homepage = http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html;
license = licenses.lgpl21;
maintainers = with maintainers; [ magnetophon ];
platforms = platforms.linux;
};
}