inkscape: enableParallelBuilding, doCheck, add meta
This commit is contained in:
parent
7e9a0b8ec2
commit
df99ec18dc
|
@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
patches = [ ./configure-python-libs.patch ];
|
patches = [ ./configure-python-libs.patch ];
|
||||||
|
|
||||||
|
postPatch = stdenv.lib.optionalString doCheck
|
||||||
|
''sed -i 's:#include "../../src:#include "src:' src/cxxtests.cpp'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
# Python is used at run-time to execute scripts, e.g., those from
|
# Python is used at run-time to execute scripts, e.g., those from
|
||||||
# the "Effects" menu.
|
# the "Effects" menu.
|
||||||
|
@ -27,6 +30,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configureFlags = "--with-python";
|
configureFlags = "--with-python";
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
doCheck = true;
|
||||||
|
checkFlags = "-j1";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Make sure PyXML modules can be found at run-time.
|
# Make sure PyXML modules can be found at run-time.
|
||||||
for i in "$out/bin/"*
|
for i in "$out/bin/"*
|
||||||
|
@ -40,9 +47,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
NIX_LDFLAGS = "-lX11";
|
NIX_LDFLAGS = "-lX11";
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
license = "GPL";
|
license = "GPL";
|
||||||
homepage = http://www.inkscape.org;
|
homepage = http://www.inkscape.org;
|
||||||
|
description = "Vector graphics editor";
|
||||||
|
platforms = platforms.all;
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Inkscape is a feature-rich vector graphics editor that edits
|
Inkscape is a feature-rich vector graphics editor that edits
|
||||||
files in the W3C SVG (Scalable Vector Graphics) file format.
|
files in the W3C SVG (Scalable Vector Graphics) file format.
|
||||||
|
|
Loading…
Reference in New Issue