libqalculate, qalculate-gtk: 0.9.9 -> 1.0.0

This commit is contained in:
Gabriel Ebner 2017-07-31 16:29:18 +01:00
parent 4f901203e8
commit b94da10c27
2 changed files with 10 additions and 4 deletions

View file

@ -2,13 +2,19 @@
stdenv.mkDerivation rec {
name = "qalculate-gtk-${version}";
version = "0.9.9";
version = "1.0.0";
src = fetchurl {
url = "https://github.com/Qalculate/qalculate-gtk/archive/v${version}.tar.gz";
sha256 = "0v9ibycilygmi9zzi7cxif7si56c85lfzdvbqnbf32whg8ydqqkg";
sha256 = "08sg6kfcfdpxjsl538ba26ncm2cxzc63nlafj99ff4b46wxia57k";
};
patchPhase = ''
for fn in src/interface.cc src/main.cc; do
substituteInPlace $fn --replace 'getPackageDataDir().c_str()' \"$out/share\"
done
'';
hardeningDisable = [ "format" ];
nativeBuildInputs = [ intltool pkgconfig autoreconfHook wrapGAppsHook ];

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "libqalculate-${version}";
version = "0.9.10";
version = "1.0.0a";
src = fetchurl {
url = "https://github.com/Qalculate/libqalculate/archive/v${version}.tar.gz";
sha256 = "0whzc15nwsrib6bpw4lqsm59yr0pfk44hny9sivfbwhidk0177zi";
sha256 = "12igmd1rn6zwrsg0mmn5pwy2bqj2gmc08iry0vcdxgzi7jc9x7ix";
};
outputs = [ "out" "dev" "doc" ];