cantor: fix build

This commit is contained in:
wxt 2024-10-22 20:00:16 +08:00
parent ac156c8a50
commit a8d211376f

View File

@ -7,6 +7,7 @@
makeWrapper, makeWrapper,
shared-mime-info, shared-mime-info,
fetchpatch,
qtbase, qtbase,
qtsvg, qtsvg,
qttools, qttools,
@ -107,16 +108,24 @@ mkDerivation {
# Causes failures on Hydra and ofborg from some reason # Causes failures on Hydra and ofborg from some reason
enableParallelBuilding = false; enableParallelBuilding = false;
meta = with lib; { patches = [
# fix build for julia 1.1 from upstream
(fetchpatch {
url = "https://github.com/KDE/cantor/commit/ed9525ec7895c2251668d11218f16f186db48a59.patch?full_index=1";
hash = "sha256-paq0e7Tl2aiUjBf1bDHLLUpShwdCQLICNTPNsXSoe5M=";
})
];
meta = {
description = "Front end to powerful mathematics and statistics packages"; description = "Front end to powerful mathematics and statistics packages";
homepage = "https://cantor.kde.org/"; homepage = "https://cantor.kde.org/";
license = with licenses; [ license = with lib.licenses; [
bsd3 bsd3
cc0 cc0
gpl2Only gpl2Only
gpl2Plus gpl2Plus
gpl3Only gpl3Only
]; ];
maintainers = with maintainers; [ hqurve ]; maintainers = with lib.maintainers; [ hqurve ];
}; };
} }