gcompris: 2.4 -> 3.1

This commit is contained in:
Peter Hoeg 2023-01-25 15:50:04 +08:00
parent 1b1f50645a
commit 1532e73a98

View file

@ -1,42 +1,46 @@
{ mkDerivation
{ stdenv
, cmake
, fetchurl
, gettext
, gst_all_1
, lib
, ninja
, wrapQtAppsHook
, qmlbox2d
, qtbase
, qtcharts
, qtdeclarative
, qtgraphicaleffects
, qtmultimedia
, qtquickcontrols
, qtquickcontrols2
, qtsensors
, qttools
, qtxmlpatterns
}:
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "gcompris";
version = "2.4";
version = "3.1";
src = fetchurl {
url = "https://download.kde.org/stable/gcompris/qt/src/gcompris-qt-${version}.tar.xz";
sha256 = "sha256-/QZub48rarVHcD0PgOPc6NTlOKrsEzVK/qjHb5CjWS0=";
hash = "sha256-wABGojMfiMgjUT5gVDfB5JmXK1SPkrIkqLT/403zUFI=";
};
cmakeFlags = [
"-DQML_BOX2D_LIBRARY=${qmlbox2d}/${qtbase.qtQmlPrefix}/Box2D.2.1"
];
nativeBuildInputs = [ cmake gettext ninja qttools ];
nativeBuildInputs = [ cmake gettext ninja qttools wrapQtAppsHook ];
buildInputs = [
qmlbox2d
qtbase
qtcharts
qtdeclarative
qtgraphicaleffects
qtmultimedia
qtquickcontrols
qtquickcontrols2
qtsensors
qtxmlpatterns
] ++ (with gst_all_1; [