2010-07-28 19:01:17 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, freetype, lcms, libtiff, libxml2
|
2012-08-07 16:41:18 +01:00
|
|
|
, libart_lgpl, qt4, python, cups, fontconfig, libjpeg
|
2014-09-14 23:53:05 +01:00
|
|
|
, zlib, libpng, xorg, cairo, podofo, aspell, boost, cmake }:
|
2012-08-07 16:41:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-11-04 20:41:28 +00:00
|
|
|
name = "scribus-1.4.4";
|
2009-10-18 05:44:01 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-08-07 16:41:18 +01:00
|
|
|
url = "mirror://sourceforge/scribus/scribus/${name}.tar.xz";
|
2014-11-04 20:41:28 +00:00
|
|
|
sha256 = "1bhp09x8rgdhyq8b516226nn0p7pxd2arkfkf2vvvklca5arsfx4";
|
2009-10-18 05:44:01 +01:00
|
|
|
};
|
|
|
|
|
2011-11-02 15:00:11 +00:00
|
|
|
enableParallelBuilding = true;
|
2009-10-18 05:44:01 +01:00
|
|
|
|
2012-08-07 16:41:18 +01:00
|
|
|
buildInputs = with xorg;
|
|
|
|
[ pkgconfig cmake freetype lcms libtiff libxml2 libart_lgpl qt4
|
2009-10-20 11:33:38 +01:00
|
|
|
python cups fontconfig
|
2011-11-02 15:00:11 +00:00
|
|
|
libjpeg zlib libpng podofo aspell cairo
|
2014-09-14 23:53:05 +01:00
|
|
|
boost # for internal 2geom library
|
2012-08-07 16:41:18 +01:00
|
|
|
libXaw libXext libX11 libXtst libXi libXinerama
|
|
|
|
libpthreadstubs libXau libXdmcp
|
2011-11-02 15:00:11 +00:00
|
|
|
];
|
2009-10-18 05:44:01 +01:00
|
|
|
|
|
|
|
meta = {
|
2010-07-28 19:01:17 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
description = "Desktop Publishing (DTP) and Layout program for Linux";
|
2009-10-20 11:33:38 +01:00
|
|
|
homepage = http://www.scribus.net;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2009-10-20 11:33:38 +01:00
|
|
|
};
|
2009-10-18 05:44:01 +01:00
|
|
|
}
|