nixpkgs/pkgs/desktops/kde/kdelibs/default.nix
Yury G. Kudryashov 8c88f15884 kdelibs: syntax changed
svn path=/nixpkgs/branches/stdenv-updates/; revision=10262
2008-01-23 16:33:46 +00:00

29 lines
658 B
Nix

args: with args;
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
";
}