libqalculate: 3.6.0 -> 3.7.0

This commit is contained in:
R. RyanTM 2020-01-26 07:06:03 +00:00 committed by Gabriel Ebner
parent 4311cfa157
commit 0fee572f23

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "libqalculate";
version = "3.6.0";
version = "3.7.0";
src = fetchFromGitHub {
owner = "qalculate";
repo = "libqalculate";
rev = "v${version}";
sha256 = "0qfdgxb46c18cp43z67n986xhj6x0sa95hryq42spf1p5ymbylqy";
sha256 = "0g3047lwd0rh0dds196iija3kq06mhkh6y8x5whcbv3s0db66h18";
};
outputs = [ "out" "dev" "doc" ];
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
'';
patchPhase = ''
substituteInPlace libqalculate/Calculator.cc \
substituteInPlace libqalculate/Calculator-plot.cc \
--replace 'commandline = "gnuplot"' 'commandline = "${gnuplot}/bin/gnuplot"' \
--replace '"gnuplot - ' '"${gnuplot}/bin/gnuplot - '
'' + stdenv.lib.optionalString stdenv.cc.isClang ''