2010-07-28 19:01:17 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, freetype, lcms, libtiff, libxml2
|
2016-10-18 08:19:33 +01:00
|
|
|
, libart_lgpl, qt4, python2, 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
|
|
|
|
2016-10-13 21:11:30 +01:00
|
|
|
let
|
2016-10-18 08:19:33 +01:00
|
|
|
pythonEnv = python2.withPackages(ps: [ps.tkinter]);
|
2016-10-13 21:11:30 +01:00
|
|
|
in stdenv.mkDerivation rec {
|
2016-03-21 21:15:50 +00:00
|
|
|
name = "scribus-1.4.6";
|
2009-10-18 05:44:01 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-03-21 21:15:50 +00:00
|
|
|
url = "mirror://sourceforge/scribus/scribus/${name}.tar.xz";
|
|
|
|
sha256 = "16m1g38dig37ag0zxjx3wk1rxx9xxzjqfc7prj89rp4y1m83dqr1";
|
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
|
2016-10-13 21:11:30 +01:00
|
|
|
pythonEnv 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
|
|
|
}
|