@@ -1,4 +1,4 @@
1−{ lib, stdenv, nixosTests, fetchurl, autoPatchelfHook, atomEnv, makeWrapper, makeDesktopItem, gtk3, wrapGAppsHook }:
1+{ lib, stdenv, nixosTests, fetchurl, autoPatchelfHook, atomEnv, makeWrapper, makeDesktopItem, gtk3, libxshmfence, wrapGAppsHook }:
22
33let
44 description = "Trilium Notes is a hierarchical note taking application with focus on building large personal knowledge bases";
@@ -19,16 +19,16 @@ let
1919 maintainers = with maintainers; [ fliegendewurst ];
2020 };
2121
22− version = "0.46.9";
22+ version = "0.47.2";
2323
2424 desktopSource = {
2525 url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz";
26− sha256 = "1qpk5z8w4wbkxs1lpnz3g8w30zygj4wxxlwj6gp1pip09xgiksm9";
26+ sha256 = "04fyi0gbih6iw61b6d8lprf9qhxb6zb1pgckmi016wgv8x5ck02p";
2727 };
2828
2929 serverSource = {
3030 url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz";
31− sha256 = "1n8g7l6hiw9bhzylvzlfcn2pk4i8pqkqp9lj3lcxwwqb8va52phg";
31+ sha256 = "1f8csjgqq4yw1qcnlrfy5ysarazmvj2fnmnxj4sr1xjbfa78y2rr";
3232 };
3333
3434in {
@@ -55,7 +55,7 @@ in {
5555 wrapGAppsHook
5656 ];
5757
58− buildInputs = atomEnv.packages ++ [ gtk3 ];
58+ buildInputs = atomEnv.packages ++ [ gtk3 libxshmfence ];
5959
6060 installPhase = ''
6161 runHook preInstall