File tree 2 files changed +10
-4
lines changed
applications/science/math/qalculate-gtk
development/libraries/libqalculate
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
stdenv . mkDerivation rec {
4
4
name = "qalculate-gtk-${ version } " ;
5
- version = "0.9.9 " ;
5
+ version = "1.0.0 " ;
6
6
7
7
src = fetchurl {
8
8
url = "https://github.com/Qalculate/qalculate-gtk/archive/v${ version } .tar.gz" ;
9
- sha256 = "0v9ibycilygmi9zzi7cxif7si56c85lfzdvbqnbf32whg8ydqqkg " ;
9
+ sha256 = "08sg6kfcfdpxjsl538ba26ncm2cxzc63nlafj99ff4b46wxia57k " ;
10
10
} ;
11
11
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
+
12
18
hardeningDisable = [ "format" ] ;
13
19
14
20
nativeBuildInputs = [ intltool pkgconfig autoreconfHook wrapGAppsHook ] ;
Original file line number Diff line number Diff line change 2
2
3
3
stdenv . mkDerivation rec {
4
4
name = "libqalculate-${ version } " ;
5
- version = "0.9.10 " ;
5
+ version = "1.0.0a " ;
6
6
7
7
src = fetchurl {
8
8
url = "https://github.com/Qalculate/libqalculate/archive/v${ version } .tar.gz" ;
9
- sha256 = "0whzc15nwsrib6bpw4lqsm59yr0pfk44hny9sivfbwhidk0177zi " ;
9
+ sha256 = "12igmd1rn6zwrsg0mmn5pwy2bqj2gmc08iry0vcdxgzi7jc9x7ix " ;
10
10
} ;
11
11
12
12
outputs = [ "out" "dev" "doc" ] ;
You can’t perform that action at this time.
0 commit comments