appcsxcad: fix for CMake v4
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
cmake,
|
cmake,
|
||||||
csxcad,
|
csxcad,
|
||||||
qcsxcad,
|
qcsxcad,
|
||||||
@@ -25,6 +26,20 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
hash = "sha256-KrsnCnRZRTbkgEH3hOETrYhseg5mCHPqhAbYyHlS3sk=";
|
hash = "sha256-KrsnCnRZRTbkgEH3hOETrYhseg5mCHPqhAbYyHlS3sk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# ref. https://github.com/thliebig/AppCSXCAD/pull/14 merged upstream
|
||||||
|
(fetchpatch {
|
||||||
|
name = "update-minimum-cmake-required.patch";
|
||||||
|
url = "https://github.com/thliebig/AppCSXCAD/commit/9585207eb08195c3f1c47dc9d6a80b563a3272e0.patch";
|
||||||
|
hash = "sha256-2+C3cqQMU3UL12h0f7EdBZVqeJVSPhDVbMOcqbOY0gg=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
name = "remove-cmp0020-policy.patch";
|
||||||
|
url = "https://github.com/thliebig/AppCSXCAD/commit/688c07cd847f463a2a42f01d41751374b4f787c8.patch";
|
||||||
|
hash = "sha256-pa6imzrUoVA3Ebc4UGPACJ6qjYiHOjB5aQ9FN/CUpVM=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
qt6.wrapQtAppsHook
|
qt6.wrapQtAppsHook
|
||||||
|
|||||||
Reference in New Issue
Block a user