diff options
author | Will Dietz <w@wdtz.org> | 2018-01-17 13:25:18 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-01-17 14:50:59 -0600 |
commit | fca39a3814f27674770cc11b202763e85f843576 (patch) | |
tree | 454282ba6103bcb21cd1a5683db150f6492a5138 /pkgs/tools/graphics/plotutils/default.nix | |
parent | ea51cd255d5e144d881f26a005027587bd5fb38d (diff) | |
download | nixlib-fca39a3814f27674770cc11b202763e85f843576.tar nixlib-fca39a3814f27674770cc11b202763e85f843576.tar.gz nixlib-fca39a3814f27674770cc11b202763e85f843576.tar.bz2 nixlib-fca39a3814f27674770cc11b202763e85f843576.tar.lz nixlib-fca39a3814f27674770cc11b202763e85f843576.tar.xz nixlib-fca39a3814f27674770cc11b202763e85f843576.tar.zst nixlib-fca39a3814f27674770cc11b202763e85f843576.zip |
plotutils: regenerate debian patch url's, apply few more
don't include the format-security patch, because it breaks a test: https://bugs.gentoo.org/618708
Diffstat (limited to 'pkgs/tools/graphics/plotutils/default.nix')
-rw-r--r-- | pkgs/tools/graphics/plotutils/default.nix | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/tools/graphics/plotutils/default.nix b/pkgs/tools/graphics/plotutils/default.nix index 219bfdf8c14d..85685e0b0482 100644 --- a/pkgs/tools/graphics/plotutils/default.nix +++ b/pkgs/tools/graphics/plotutils/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, libpng }: +{ fetchurl, stdenv, libpng, autoreconfHook }: # debian splits this package into plotutils and libplot2c2 @@ -13,14 +13,8 @@ stdenv.mkDerivation rec { sha256 = "1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg"; }; + nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ libpng ]; - - # disable failing test on i686 - # https://lists.gnu.org/archive/html/bug-plotutils/2016-04/msg00002.html - prePatch = stdenv.lib.optionalString stdenv.isi686 '' - substituteInPlace test/Makefile.in --replace 'spline.test' ' ' - ''; - patches = map fetchurl (import ./debian-patches.nix); configureFlags = "--enable-libplotter"; # required for pstoedit @@ -29,6 +23,8 @@ stdenv.mkDerivation rec { doCheck = true; + enableParallelBuilding = true; + meta = { description = "Powerful C/C++ library for exporting 2D vector graphics"; |