Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 50 lines 1.2 kB view raw
1{ 2 stdenv, 3 mkDerivation, 4 lib, 5 fetchFromBitbucket, 6 cmake, 7 qtbase, 8 qttools, 9}: 10 11mkDerivation rec { 12 pname = "speedcrunch"; 13 version = "unstable-2021-10-09"; 14 15 src = fetchFromBitbucket { 16 owner = "heldercorreia"; 17 repo = pname; 18 rev = "74756f3438149c01e9edc3259b0f411fa319a22f"; 19 sha256 = "sha256-XxQv+A5SfYXFIRK7yacxGHHne1Q93pwCGeHhchIKizU="; 20 }; 21 22 buildInputs = [ 23 qtbase 24 qttools 25 ]; 26 27 nativeBuildInputs = [ cmake ]; 28 29 preConfigure = '' 30 cd src 31 ''; 32 33 meta = with lib; { 34 homepage = "http://speedcrunch.org"; 35 license = licenses.gpl2Plus; 36 description = "Fast power user calculator"; 37 mainProgram = "speedcrunch"; 38 longDescription = '' 39 SpeedCrunch is a fast, high precision and powerful desktop calculator. 40 Among its distinctive features are a scrollable display, up to 50 decimal 41 precisions, unlimited variable storage, intelligent automatic completion 42 full keyboard-friendly and more than 15 built-in math function. 43 ''; 44 maintainers = with maintainers; [ 45 j0hax 46 ]; 47 inherit (qtbase.meta) platforms; 48 broken = stdenv.hostPlatform.isDarwin; 49 }; 50}