Skip to content

Commit b94da10

Browse files
committedJul 31, 2017
libqalculate, qalculate-gtk: 0.9.9 -> 1.0.0
1 parent 4f90120 commit b94da10

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed
 

‎pkgs/applications/science/math/qalculate-gtk/default.nix

+8-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@
22

33
stdenv.mkDerivation rec {
44
name = "qalculate-gtk-${version}";
5-
version = "0.9.9";
5+
version = "1.0.0";
66

77
src = fetchurl {
88
url = "https://github.com/Qalculate/qalculate-gtk/archive/v${version}.tar.gz";
9-
sha256 = "0v9ibycilygmi9zzi7cxif7si56c85lfzdvbqnbf32whg8ydqqkg";
9+
sha256 = "08sg6kfcfdpxjsl538ba26ncm2cxzc63nlafj99ff4b46wxia57k";
1010
};
1111

12+
patchPhase = ''
13+
for fn in src/interface.cc src/main.cc; do
14+
substituteInPlace $fn --replace 'getPackageDataDir().c_str()' \"$out/share\"
15+
done
16+
'';
17+
1218
hardeningDisable = [ "format" ];
1319

1420
nativeBuildInputs = [ intltool pkgconfig autoreconfHook wrapGAppsHook ];

‎pkgs/development/libraries/libqalculate/default.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
stdenv.mkDerivation rec {
44
name = "libqalculate-${version}";
5-
version = "0.9.10";
5+
version = "1.0.0a";
66

77
src = fetchurl {
88
url = "https://github.com/Qalculate/libqalculate/archive/v${version}.tar.gz";
9-
sha256 = "0whzc15nwsrib6bpw4lqsm59yr0pfk44hny9sivfbwhidk0177zi";
9+
sha256 = "12igmd1rn6zwrsg0mmn5pwy2bqj2gmc08iry0vcdxgzi7jc9x7ix";
1010
};
1111

1212
outputs = [ "out" "dev" "doc" ];

0 commit comments

Comments
 (0)
Please sign in to comment.