2022-03-24 06:06:23 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2019-07-30 18:01:47 +00:00
|
|
|
, fetchFromGitLab
|
2020-07-29 16:33:39 +00:00
|
|
|
, nix-update-script
|
2023-05-12 14:17:16 +00:00
|
|
|
, cargo
|
2019-07-30 18:01:47 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, rustPlatform
|
2023-05-12 14:17:16 +00:00
|
|
|
, rustc
|
2020-08-14 23:04:17 +00:00
|
|
|
, pkg-config
|
2019-07-30 18:01:47 +00:00
|
|
|
, glib
|
2023-11-25 11:11:26 +00:00
|
|
|
, gtk4
|
|
|
|
, gtksourceview5
|
|
|
|
, libadwaita
|
|
|
|
, gst_all_1
|
|
|
|
, desktop-file-utils
|
|
|
|
, appstream-glib
|
2019-07-30 18:01:47 +00:00
|
|
|
, openssl
|
2023-11-25 11:11:26 +00:00
|
|
|
, pipewire
|
|
|
|
, libshumate
|
|
|
|
, wrapGAppsHook4
|
2019-07-30 18:01:47 +00:00
|
|
|
, sqlite
|
2023-11-25 11:11:26 +00:00
|
|
|
, xdg-desktop-portal
|
2019-07-30 18:01:47 +00:00
|
|
|
}:
|
2018-10-31 21:37:29 +00:00
|
|
|
|
2021-03-14 15:26:12 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-07-30 18:01:47 +00:00
|
|
|
pname = "fractal";
|
2023-11-25 11:11:26 +00:00
|
|
|
version = "5";
|
2018-10-31 21:37:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "GNOME";
|
|
|
|
repo = "fractal";
|
|
|
|
rev = version;
|
2023-11-25 11:11:26 +00:00
|
|
|
hash = "sha256-XHb8HjQ5PDL2sen6qUivDllvYEhKnp1vQynD2Lksi30=";
|
2018-10-31 21:37:29 +00:00
|
|
|
};
|
|
|
|
|
2023-03-31 15:36:13 +00:00
|
|
|
cargoDeps = rustPlatform.importCargoLock {
|
|
|
|
lockFile = ./Cargo.lock;
|
|
|
|
outputHashes = {
|
2023-11-25 11:11:26 +00:00
|
|
|
"matrix-sdk-0.6.2" = "sha256-X+4077rlaE8zjXHXPUfiYwa/+Bg0KTFrcsAg7yCz4ug=";
|
|
|
|
"mas-http-0.5.0-rc.2" = "sha256-XH+I5URcbkSY4NDwfOFhIjb+/swuGz6n9hKufziPgoY=";
|
2023-03-31 15:36:13 +00:00
|
|
|
};
|
2021-03-14 15:26:12 +00:00
|
|
|
};
|
2019-07-30 18:01:47 +00:00
|
|
|
|
2018-10-31 21:37:29 +00:00
|
|
|
nativeBuildInputs = [
|
2023-11-25 11:11:26 +00:00
|
|
|
glib
|
|
|
|
gtk4
|
2019-07-30 18:01:47 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2020-08-14 23:04:17 +00:00
|
|
|
pkg-config
|
2023-11-25 11:11:26 +00:00
|
|
|
rustPlatform.bindgenHook
|
2021-03-14 15:26:12 +00:00
|
|
|
rustPlatform.cargoSetupHook
|
2023-11-25 11:11:26 +00:00
|
|
|
cargo
|
2023-05-12 14:17:16 +00:00
|
|
|
rustc
|
2023-11-25 11:11:26 +00:00
|
|
|
desktop-file-utils
|
|
|
|
appstream-glib
|
|
|
|
wrapGAppsHook4
|
2018-10-31 21:37:29 +00:00
|
|
|
];
|
2019-07-30 18:01:47 +00:00
|
|
|
|
2018-10-31 21:37:29 +00:00
|
|
|
buildInputs = [
|
2019-07-30 18:01:47 +00:00
|
|
|
glib
|
2023-11-25 11:11:26 +00:00
|
|
|
gtk4
|
|
|
|
gtksourceview5
|
|
|
|
libadwaita
|
2019-07-30 18:01:47 +00:00
|
|
|
openssl
|
2023-11-25 11:11:26 +00:00
|
|
|
pipewire
|
|
|
|
libshumate
|
2019-07-30 18:01:47 +00:00
|
|
|
sqlite
|
2023-11-25 11:11:26 +00:00
|
|
|
xdg-desktop-portal
|
|
|
|
] ++ (with gst_all_1; [
|
|
|
|
gstreamer
|
|
|
|
gst-plugins-base
|
|
|
|
gst-plugins-bad
|
2023-10-16 00:49:18 +00:00
|
|
|
gst-plugins-good
|
2023-11-25 11:11:26 +00:00
|
|
|
]);
|
2022-12-04 00:48:45 +00:00
|
|
|
|
2020-07-29 16:33:39 +00:00
|
|
|
passthru = {
|
2022-12-25 22:11:14 +00:00
|
|
|
updateScript = nix-update-script { };
|
2020-07-29 16:33:39 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-31 21:37:29 +00:00
|
|
|
description = "Matrix group messaging app";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/fractal";
|
2023-11-25 11:11:26 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = teams.gnome.members ++ (with maintainers; [ anselmschueler dtzWill ]);
|
|
|
|
mainProgram = "fractal";
|
2018-10-31 21:37:29 +00:00
|
|
|
};
|
|
|
|
}
|