2022-01-03 16:56:52 +00:00
|
|
|
{ mkDerivation, lib, fetchFromBitbucket, cmake, qtbase, qttools }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "speedcrunch";
|
2022-01-03 16:56:52 +00:00
|
|
|
version = "unstable-2021-10-09";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
src = fetchFromBitbucket {
|
|
|
|
owner = "heldercorreia";
|
|
|
|
repo = pname;
|
|
|
|
rev = "74756f3438149c01e9edc3259b0f411fa319a22f";
|
|
|
|
sha256 = "sha256-XxQv+A5SfYXFIRK7yacxGHHne1Q93pwCGeHhchIKizU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ qtbase qttools ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd src
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "http://speedcrunch.org";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
description = "A fast power user calculator";
|
|
|
|
longDescription = ''
|
|
|
|
SpeedCrunch is a fast, high precision and powerful desktop calculator.
|
|
|
|
Among its distinctive features are a scrollable display, up to 50 decimal
|
|
|
|
precisions, unlimited variable storage, intelligent automatic completion
|
|
|
|
full keyboard-friendly and more than 15 built-in math function.
|
|
|
|
'';
|
2022-01-03 16:56:52 +00:00
|
|
|
maintainers = with maintainers; [ gebner j0hax ];
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit (qtbase.meta) platforms;
|
|
|
|
# works with qt 5.6 and qt 5.8
|
|
|
|
broken = builtins.compareVersions qtbase.version "5.7.0" == 0;
|
|
|
|
};
|
|
|
|
}
|