nixpkgs/pkgs/desktops/kde/kdelibs/default.nix
Eelco Dolstra 23f2a18677 * KDE 3.5.7.
* Mirror scheme "mirror://kde/".

svn path=/nixpkgs/trunk/; revision=9353
2007-09-21 13:07:25 +00:00

32 lines
814 B
Nix

{ stdenv, fetchurl, libX11, libXt, libXext, zlib, perl, qt, openssl, pcre
, pkgconfig, libjpeg, libpng, libtiff, libxml2, libxslt, libtool, expat
, freetype, bzip2, cups
}:
let version = "3.5.7"; in
stdenv.mkDerivation {
name = "kdelibs-${version}";
src = fetchurl {
url = "mirror://kde/stable/${version}/src/kdelibs-${version}.tar.bz2";
md5 = "50ed644f2ec91963570fe2b155652957";
};
passthru = {inherit openssl libX11 libjpeg qt;};
buildInputs = [
libX11 libXt libXext zlib perl qt openssl pcre
pkgconfig libjpeg libpng libtiff libxml2 libxslt expat
libtool freetype bzip2 cups
];
configureFlags = "
--without-arts
--with-ssl-dir=${openssl}
--with-extra-includes=${libjpeg}/include
--x-includes=${libX11}/include
--x-libraries=${libX11}/lib
";
}