diff options
author | Justin Humm <justin.humm@posteo.de> | 2018-10-05 14:03:11 +0200 |
---|---|---|
committer | Justin Humm <justin.humm@posteo.de> | 2018-10-15 09:50:24 +0200 |
commit | 6837d0d5c98a19aeb63fc82d6806600fd4c8907e (patch) | |
tree | 5c650f4af89e3f7335199fe60b188745c6b12bae /pkgs/applications/office/scribus | |
parent | 0d7ed1b771600b5fc66ff650dee5a435054a0465 (diff) |
scribusUnstable: init at 2018-10-13
Diffstat (limited to 'pkgs/applications/office/scribus')
-rw-r--r-- | pkgs/applications/office/scribus/unstable.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/applications/office/scribus/unstable.nix b/pkgs/applications/office/scribus/unstable.nix new file mode 100644 index 0000000000000..4b1595db42a48 --- /dev/null +++ b/pkgs/applications/office/scribus/unstable.nix @@ -0,0 +1,39 @@ +{ stdenv, fetchsvn, makeWrapper, pkgconfig, cmake, qtbase, cairo, pixman, +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]); + revision = "22730"; +in +stdenv.mkDerivation rec { + name = "scribus-unstable-${version}"; + version = "2018-10-13"; + + src = fetchsvn { + url = "svn://scribus.net/trunk/Scribus"; + rev = revision; + sha256 = "1nlg4qva0fach8fi07r1pakjjlijishpwzlgpnxyaz7r31yjaw63"; + }; + + enableParallelBuilding = true; + + buildInputs = [ + makeWrapper pkgconfig cmake qtbase cairo pixman boost cups fontconfig + freetype hunspell libjpeg libtiff libxml2 lcms2 podofo poppler + poppler_data pythonEnv harfbuzz qtimageformats qttools + ]; + + postFixup = '' + wrapProgram $out/bin/scribus \ + --prefix QT_PLUGIN_PATH : "${qtbase}/${qtbase.qtPluginPrefix}" + ''; + + 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; + }; +} |