nixpkgs/pkgs/applications/office/scribus/default.nix
Vladimír Čunát cf3ea80e1f Scribus minor update, modifying dependencies.
- using the boostHeaders dep to build scribus with 2geom (internal)
- adding more xorg deps to build with XCB support
2012-08-07 17:41:18 +02:00

32 lines
1,006 B
Nix

{ stdenv, fetchurl, pkgconfig, freetype, lcms, libtiff, libxml2
, libart_lgpl, qt4, python, cups, fontconfig, libjpeg
, zlib, libpng, xorg, cairo, podofo, aspell, boostHeaders, cmake }:
stdenv.mkDerivation rec {
name = "scribus-1.4.1";
src = fetchurl {
url = "mirror://sourceforge/scribus/scribus/${name}.tar.xz";
sha256 = "1n67z2bk5ca2sxvv43jvj7yygfr4d2x5yc69zk70v38prm0gqlv8";
};
enableParallelBuilding = true;
buildInputs = with xorg;
[ pkgconfig cmake freetype lcms libtiff libxml2 libart_lgpl qt4
python cups fontconfig
libjpeg zlib libpng podofo aspell cairo
boostHeaders # for internal 2geom library
libXaw libXext libX11 libXtst libXi libXinerama
libpthreadstubs libXau libXdmcp
];
meta = {
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
description = "Desktop Publishing (DTP) and Layout program for Linux";
homepage = http://www.scribus.net;
license = "GPLv2";
};
}