speedcrunch: allow building with qt 5.8
This commit is contained in:
parent
8d27aad6c3
commit
bf4710fa80
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, cmake, qtbase, qttools }:
|
||||
{ stdenv, fetchgit, cmake, makeQtWrapper, qtbase, qttools }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "speedcrunch-${version}";
|
||||
@ -11,14 +11,20 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0vh7cd1915bjqzkdp3sk25ngy8cq624mkh8c53c5bnzk357kb0fk";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ qtbase qttools ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
nativeBuildInputs = [ cmake makeQtWrapper ];
|
||||
|
||||
preConfigure = ''
|
||||
cd src
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapQtProgram $out/bin/speedcrunch
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://speedcrunch.org;
|
||||
license = licenses.gpl2Plus;
|
||||
@ -30,7 +36,8 @@ stdenv.mkDerivation rec {
|
||||
full keyboard-friendly and more than 15 built-in math function.
|
||||
'';
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
platforms = platforms.all;
|
||||
broken = builtins.compareVersions qtbase.version "5.8.0" >= 0;
|
||||
inherit (qtbase.meta) platforms;
|
||||
# works with qt 5.6 and qt 5.8
|
||||
broken = builtins.compareVersions qtbase.version "5.7.0" == 0;
|
||||
};
|
||||
}
|
||||
|
@ -17765,7 +17765,7 @@ with pkgs;
|
||||
|
||||
yacas = callPackage ../applications/science/math/yacas { };
|
||||
|
||||
speedcrunch = libsForQt56.callPackage ../applications/science/math/speedcrunch { };
|
||||
speedcrunch = libsForQt5.callPackage ../applications/science/math/speedcrunch { };
|
||||
|
||||
### SCIENCE / MISC
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user