Merge pull request #75134 from andersk/gnuplot_qt

gnuplot_qt: Use qt mkDerivation
This commit is contained in:
worldofpeace
2019-12-07 05:50:48 -05:00
committed by GitHub

View File

@@ -11,14 +11,14 @@
, fontconfig ? null
, gnused ? null
, coreutils ? null
, withQt ? false, qttools, qtbase, qtsvg
, withQt ? false, mkDerivation, qttools, qtbase, qtsvg
}:
assert libX11 != null -> (fontconfig != null && gnused != null && coreutils != null);
let
withX = libX11 != null && !aquaterm && !stdenv.isDarwin;
in
stdenv.mkDerivation rec {
(if withQt then mkDerivation else stdenv.mkDerivation) rec {
name = "gnuplot-5.2.7";
src = fetchurl {