kdePackages.qmlbox2d: revendor Box2D (#443757)

This commit is contained in:
K900
2025-09-17 14:21:57 +00:00
committed by GitHub
2 changed files with 0 additions and 31 deletions
@@ -6,33 +6,9 @@
fetchFromGitHub,
cmake,
pkg-config,
box2d,
unstableGitUpdater,
}:
let
inherit (lib) cmakeBool;
# 2.3.1 is the only supported version
box2d' = box2d.overrideAttrs (old: rec {
version = "2.3.1";
src = fetchFromGitHub {
owner = "erincatto";
repo = "box2d";
tag = "v${version}";
hash = "sha256-Z2J17YMzQNZqABIa5eyJDT7BWfXveymzs+DWsrklPIs=";
};
patches = [ ];
postPatch = "";
sourceRoot = "${src.name}/Box2D";
cmakeFlags = old.cmakeFlags or [ ] ++ [
(cmakeBool "BOX2D_INSTALL" true)
(cmakeBool "BOX2D_BUILD_SHARED" true)
(cmakeBool "BOX2D_BUILD_EXAMPLES" false)
];
});
in
stdenv.mkDerivation {
pname = "qml-box2d";
version = "0-unstable-2024-04-15";
@@ -52,15 +28,10 @@ stdenv.mkDerivation {
];
buildInputs = [
box2d'
qtbase
qtdeclarative
];
cmakeFlags = [
(cmakeBool "USE_SYSTEM_BOX2D" true)
];
passthru = {
updateScript = unstableGitUpdater {
hardcodeZeroVersion = true;
-2
View File
@@ -171,8 +171,6 @@ makeScopeWithSplicing' {
qmltermwidget = callPackage ../development/libraries/qmltermwidget { };
qmlbox2d = callPackage ../development/libraries/qmlbox2d { };
qoauth = callPackage ../development/libraries/qoauth { };
qt5ct = callPackage ../tools/misc/qt5ct { };