@@ -9,21 +9,22 @@
99, pantheon
1010, python3
1111, glib
12−, gtk3
12+, gtk4
1313, json-glib
14+, libadwaita
1415, libgee
1516, wrapGAppsHook
1617}:
1718
1819stdenv.mkDerivation rec {
1920 pname = "khronos";
20− version = "1.0.8";
21+ version = "3.5.9";
2122
2223 src = fetchFromGitHub {
2324 owner = "lainsce";
2425 repo = pname;
2526 rev = version;
26− sha256 = "0d5ma1d86lh2apagwrwk0d1v1cm3fifjivhf530nlznb67vi1x80";
27+ sha256 = "sha256-3FatmyANB/tNYSN2hu5IVkyCy0YrC3uA2d/3+5u48w8=";
2728 };
2829
2930 nativeBuildInputs = [
@@ -38,15 +39,16 @@ stdenv.mkDerivation rec {
3839
3940 buildInputs = [
4041 glib
41− gtk3
42+ gtk4
4243 json-glib
44+ libadwaita
4345 libgee
4446 pantheon.granite
4547 ];
4648
4749 postPatch = ''
48− chmod +x meson/post_install.py
49− patchShebangs meson/post_install.py
50+ chmod +x build-aux/post_install.py
51+ patchShebangs build-aux/post_install.py
5052 '';
5153
5254 passthru = {
@@ -60,6 +62,6 @@ stdenv.mkDerivation rec {
6062 homepage = "https://github.com/lainsce/khronos";
6163 maintainers = with maintainers; [ xiorcale ] ++ pantheon.maintainers;
6264 platforms = platforms.linux;
63− license = licenses.gpl3;
65+ license = licenses.gpl3Plus;
6466 };
6567}