31 stdenv.mkDerivation rec {
35 src = fetchFromGitLab {
36 domain = "gitlab.gnome.org";
40 hash = "sha256-dXmdoEBvHhOoICIDCpi2JTPo7j/kQzlv+Q/S/7LNyv0=";
43 cargoDeps = rustPlatform.fetchCargoVendor {
45 hash = "sha256-qRxJvlorS5S3Wj3HjfvvR2nM/ZWzefz4x791UeSXm0w=";
48 # Dirty approach to add patches after cargoSetupPostUnpackHook
49 # We should eventually use a cargo vendor patch hook instead
51 pushd ../$(stripHash $cargoDeps)/glycin-2.*
52 patch -p3 < ${glycin-loaders.passthru.glycinPathsPatch}
63 rustPlatform.bindgenHook
64 rustPlatform.cargoSetupHook
96 --prefix XDG_DATA_DIRS : "${glycin-loaders}/share"
101 updateScript = nix-update-script { };
105 description = "Matrix group messaging app";
106 homepage = "https://gitlab.gnome.org/GNOME/fractal";
107 changelog = "https://gitlab.gnome.org/World/fractal/-/releases/${version}";
108 license = licenses.gpl3Plus;
109 maintainers = teams.gnome.members;
110 platforms = platforms.linux;
111 mainProgram = "fractal";