at master 880 B view raw
1{ 2 lib, 3 stdenv, 4 qtbase, 5 qtdeclarative, 6 fetchFromGitHub, 7 cmake, 8 pkg-config, 9 unstableGitUpdater, 10}: 11 12stdenv.mkDerivation { 13 pname = "qml-box2d"; 14 version = "0-unstable-2024-04-15"; 15 16 src = fetchFromGitHub { 17 owner = "qml-box2d"; 18 repo = "qml-box2d"; 19 rev = "3a85439726d1ac4d082308feba45f23859ba71e0"; 20 hash = "sha256-lTgzPJWSwNfPRj5Lc63C69o4ILuyhVRLvltTo5E7yq0="; 21 }; 22 23 dontWrapQtApps = true; 24 25 nativeBuildInputs = [ 26 cmake 27 pkg-config 28 ]; 29 30 buildInputs = [ 31 qtbase 32 qtdeclarative 33 ]; 34 35 passthru = { 36 updateScript = unstableGitUpdater { 37 hardcodeZeroVersion = true; 38 }; 39 }; 40 41 meta = { 42 description = "QML plugin for Box2D engine"; 43 homepage = "https://github.com/qml-box2d/qml-box2d"; 44 maintainers = with lib.maintainers; [ guibou ]; 45 platforms = lib.platforms.linux; 46 license = lib.licenses.zlib; 47 }; 48}