speedcrunch: migrate to pkgs/by-name

This commit is contained in:
magicquark
2025-09-28 05:21:23 +01:00
parent 6a7cbb45be
commit e7513aca60
2 changed files with 13 additions and 14 deletions
@@ -1,14 +1,12 @@
{
stdenv,
mkDerivation,
lib,
fetchFromBitbucket,
cmake,
qtbase,
qttools,
libsForQt5,
}:
mkDerivation {
stdenv.mkDerivation {
pname = "speedcrunch";
version = "unstable-2021-10-09";
@@ -19,19 +17,22 @@ mkDerivation {
sha256 = "sha256-XxQv+A5SfYXFIRK7yacxGHHne1Q93pwCGeHhchIKizU=";
};
buildInputs = [
sourceRoot = "source/src";
buildInputs = with libsForQt5; [
qtbase
qttools
];
nativeBuildInputs = [ cmake ];
preConfigure = ''
cd src
'';
nativeBuildInputs = [
cmake
]
++ [
libsForQt5.wrapQtAppsHook
];
meta = with lib; {
homepage = "http://speedcrunch.org";
homepage = "https://speedcrunch.org";
license = licenses.gpl2Plus;
description = "Fast power user calculator";
mainProgram = "speedcrunch";
@@ -44,7 +45,7 @@ mkDerivation {
maintainers = with maintainers; [
j0hax
];
inherit (qtbase.meta) platforms;
inherit (libsForQt5.qtbase.meta) platforms;
broken = stdenv.hostPlatform.isDarwin;
};
}
-2
View File
@@ -14525,8 +14525,6 @@ with pkgs;
enableJupyter = false;
};
speedcrunch = libsForQt5.callPackage ../applications/science/math/speedcrunch { };
### SCIENCE / MISC
boinc-headless = boinc.override { headless = true; };