nixpkgs/pkgs/development/libraries/xlibs/libXft/default.nix

14 lines
509 B
Nix
Raw Normal View History

{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://catamaran.labs.cs.uu.nl/dist/tarballs/libXft-2.1.6.tar.bz2;
md5 = "ba10c9c3f4758f304f04f8d48e2f81a4";
};
buildInputs = [pkgconfig];
propagatedBuildInputs = [libX11 libXrender freetype fontconfig];
}) // {inherit freetype fontconfig;}