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