mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 11:13:30 +00:00
c39818d3dc
changelog: https://bugs.scribus.net/changelog_page.php?version_id=106 Co-Authored-By: worldofpeace <worldofpeace@protonmail.ch>
34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
{ stdenv, fetchurl, mkDerivation, 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]);
|
|
in
|
|
mkDerivation rec {
|
|
pname = "scribus";
|
|
version = "1.5.5";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/${pname}-devel/${pname}-${version}.tar.xz";
|
|
sha256 = "eQiyGmzoQyafWM7fX495GJMlfmIBzOX73ccNrKL+P3E=";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
|
buildInputs = [
|
|
qtbase cairo pixman boost cups fontconfig
|
|
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;
|
|
};
|
|
}
|