nixpkgs/pkgs/desktops/kde/kdelibs/default.nix

32 lines
814 B
Nix
Raw Normal View History

{ 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
";
}