2019-07-05 15:42:08 +00:00
|
|
|
{ stdenv, fetchsvn, wrapQtAppsHook, pkgconfig, cmake, qtbase, cairo, pixman,
|
2018-10-05 12:03:11 +00:00
|
|
|
boost, cups, fontconfig, freetype, hunspell, libjpeg, libtiff, libxml2, lcms2,
|
|
|
|
podofo, poppler, poppler_data, python2, harfbuzz, qtimageformats, qttools }:
|
|
|
|
|
|
|
|
let
|
|
|
|
pythonEnv = python2.withPackages(ps: [ps.tkinter ps.pillow]);
|
2019-01-16 13:51:08 +00:00
|
|
|
revision = "22806";
|
2019-07-05 15:42:08 +00:00
|
|
|
in
|
2018-10-05 12:03:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "scribus-unstable-${version}";
|
2019-01-16 13:51:08 +00:00
|
|
|
version = "2019-01-16";
|
2018-10-05 12:03:11 +00:00
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "svn://scribus.net/trunk/Scribus";
|
|
|
|
rev = revision;
|
2019-01-16 13:51:08 +00:00
|
|
|
sha256 = "16xpsbp6kca78jf48n6zdmyjras38xr11paan839hgy4ik83ncn0";
|
2018-10-05 12:03:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-07-05 15:42:08 +00:00
|
|
|
nativeBuildInputs = [ wrapQtAppsHook ];
|
2018-10-05 12:03:11 +00:00
|
|
|
buildInputs = [
|
2019-07-05 15:42:08 +00:00
|
|
|
pkgconfig cmake qtbase cairo pixman boost cups fontconfig
|
2018-10-05 12:03:11 +00:00
|
|
|
freetype hunspell libjpeg libtiff libxml2 lcms2 podofo poppler
|
|
|
|
poppler_data pythonEnv harfbuzz qtimageformats qttools
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
maintainers = [ stdenv.lib.maintainers.erictapen ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
description = "Desktop Publishing (DTP) and Layout program for Linux";
|
|
|
|
homepage = http://www.scribus.net;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|