1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/applications/office/scribus/default.nix

34 lines
1 KiB
Nix
Raw Normal View History

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