nixpkgs/pkgs/development/libraries/qt-3/default.nix
Eelco Dolstra e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00

28 lines
759 B
Nix

{ xftSupport ? true
, xrenderSupport ? true
, threadSupport ? true
, mysqlSupport ? true
, stdenv, fetchurl, x11, libXft ? null, libXrender ? null, mysql ? null
, zlib, libjpeg, libpng, which
}:
assert xftSupport -> libXft != null;
assert xrenderSupport -> xftSupport && libXft != null;
assert mysqlSupport -> mysql != null;
stdenv.mkDerivation {
name = "qt-3.3.3";
builder = ./builder.sh;
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/qt-x11-free-3.3.3.tar.bz2;
md5 = "3e0a0c8429b0a974b39b5f535ddff01c";
};
buildInputs = [x11 libXft libXrender zlib libjpeg libpng which];
inherit threadSupport xftSupport libXft xrenderSupport libXrender;
inherit mysqlSupport mysql;
inherit (libXft) freetype fontconfig;
}