nixpkgs/pkgs/development/libraries/xlibs/libXft/default.nix
Eelco Dolstra 44fa4a2980 * libXft: pass through the freetype and fontconfig inputs (Qt needs
them).
* Add Qt to the cache.  Contrary to what the previous commit message
  said, there is nothing wrong with the Qt build.  It was just a
  problem on my local machine (you shouldn't run `./configure -help'
  in a temporary build directory; it overwrites some files of the
  build in progress).

svn path=/nixpkgs/trunk/; revision=2067
2005-01-19 23:27:35 +00:00

14 lines
502 B
Nix

{stdenv, fetchurl, pkgconfig, libX11, libXrender, freetype, fontconfig}:
# !!! assert freetype `elem` fontconfig.buildInputs or some such
# assert freetype == fontconfig.freetype;
(stdenv.mkDerivation {
name = "libXft-2.1.6";
src = fetchurl {
url = http://freedesktop.org/~xlibs/release/libXft-2.1.6.tar.bz2;
md5 = "ba10c9c3f4758f304f04f8d48e2f81a4";
};
buildInputs = [pkgconfig];
propagatedBuildInputs = [libX11 libXrender freetype fontconfig];
}) // {inherit freetype fontconfig;}