Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
1.2 KiB
Nix
52 lines
1.2 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromBitbucket,
|
|
cmake,
|
|
libsForQt5,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "speedcrunch";
|
|
version = "0.12-unstable-2024-12-02";
|
|
|
|
src = fetchFromBitbucket {
|
|
owner = "heldercorreia";
|
|
repo = "speedcrunch";
|
|
rev = "db51fc5e547aa83834761d874d3518c06d0fec9e";
|
|
hash = "sha256-rnl4z/HU3lAF9Y1JvdM8LZWIV1NGfR4q5gOMxlNU2EA=";
|
|
};
|
|
|
|
sourceRoot = "source/src";
|
|
|
|
buildInputs = with libsForQt5; [
|
|
qtbase
|
|
qttools
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
]
|
|
++ [
|
|
libsForQt5.wrapQtAppsHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://speedcrunch.org";
|
|
license = licenses.gpl2Plus;
|
|
description = "Fast power user calculator";
|
|
mainProgram = "speedcrunch";
|
|
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.
|
|
'';
|
|
maintainers = with maintainers; [
|
|
j0hax
|
|
];
|
|
inherit (libsForQt5.qtbase.meta) platforms;
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
}
|