From 003ad786c15e880ade44c68c823801c1c4a52348 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sat, 23 Mar 2019 00:51:53 -0500 Subject: [PATCH 1/2] libqalculate: 2.9.0 -> 3.0.0 http://qalculate.github.io/news.html --- pkgs/development/libraries/libqalculate/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/libqalculate/default.nix b/pkgs/development/libraries/libqalculate/default.nix index 96b926d3d2b9..4aa33236a9eb 100644 --- a/pkgs/development/libraries/libqalculate/default.nix +++ b/pkgs/development/libraries/libqalculate/default.nix @@ -2,14 +2,14 @@ autoreconfHook, readline, libiconv, icu, curl, gnuplot, gettext }: stdenv.mkDerivation rec { - name = "libqalculate-${version}"; - version = "2.9.0"; + pname = "libqalculate"; + version = "3.0.0"; src = fetchFromGitHub { owner = "qalculate"; repo = "libqalculate"; rev = "v${version}"; - sha256 = "1w4fbcc6hh63dp88fy4wvys6i1ydj7ya50r1l69a64qbzby1w32i"; + sha256 = "0i21c92r94mp03673cvngvqph268ir4j89d5s9qzxgq2zjw5pc8q"; }; outputs = [ "out" "dev" "doc" ]; @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { patchPhase = '' substituteInPlace libqalculate/Calculator.cc \ --replace 'commandline = "gnuplot"' 'commandline = "${gnuplot}/bin/gnuplot"' \ - --replace '"gnuplot -"' '"${gnuplot}/bin/gnuplot -"' + --replace '"gnuplot - ' '"${gnuplot}/bin/gnuplot - ' '' + stdenv.lib.optionalString stdenv.cc.isClang '' substituteInPlace src/qalc.cc \ --replace 'printf(_("aborted"))' 'printf("%s", _("aborted"))' From 24484b216a0d38a1176a96541d6b6a6620348475 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sat, 23 Mar 2019 00:56:47 -0500 Subject: [PATCH 2/2] qalculate-gtk: 2.9.0 -> 3.0.0 http://qalculate.github.io/news.html --- pkgs/applications/science/math/qalculate-gtk/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/math/qalculate-gtk/default.nix b/pkgs/applications/science/math/qalculate-gtk/default.nix index 5104d1012b2f..61ebed896875 100644 --- a/pkgs/applications/science/math/qalculate-gtk/default.nix +++ b/pkgs/applications/science/math/qalculate-gtk/default.nix @@ -1,14 +1,14 @@ { stdenv, fetchFromGitHub, intltool, autoreconfHook, pkgconfig, libqalculate, gtk3, wrapGAppsHook }: stdenv.mkDerivation rec { - name = "qalculate-gtk-${version}"; - version = "2.9.0"; + pname = "qalculate-gtk"; + version = "3.0.0"; src = fetchFromGitHub { owner = "qalculate"; repo = "qalculate-gtk"; rev = "v${version}"; - sha256 = "0c5s7mz8xwwmzc22yai8vqiww7paafkyi7khp8a2yws78m2nirdx"; + sha256 = "00q6y9dgg9wgpgks79snbipn8alfjajlx02a5hm7wl9a20zd0b81"; }; patchPhase = ''