mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
cf3ea80e1f
- using the boostHeaders dep to build scribus with 2geom (internal) - adding more xorg deps to build with XCB support
32 lines
1,006 B
Nix
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";
|
|
};
|
|
}
|