nixpkgs/pkgs/applications/science/math/speedcrunch/default.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchgit, cmake, qtbase, qttools }:
stdenv.mkDerivation rec {
2016-06-19 17:44:32 +01:00
name = "speedcrunch-${version}";
version = "0.12.0";
src = fetchgit {
# the tagging is not standard, so you probably need to check this when updating
rev = "refs/tags/release-${version}";
url = "https://bitbucket.org/heldercorreia/speedcrunch";
sha256 = "0vh7cd1915bjqzkdp3sk25ngy8cq624mkh8c53c5bnzk357kb0fk";
};
buildInputs = [ qtbase qttools ];
nativeBuildInputs = [ cmake ];
preConfigure = ''
cd src
'';
meta = with stdenv.lib; {
2016-06-19 17:44:32 +01:00
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.
'';
2016-06-19 17:44:32 +01:00
maintainers = with maintainers; [ gebner ];
platforms = platforms.all;
broken = builtins.compareVersions qtbase.version "5.8.0" >= 0;
};
}