nixpkgs/pkgs/applications/networking/instant-messengers/fractal/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

90 lines
1.6 KiB
Nix
Raw Normal View History

2022-03-24 06:06:23 +00:00
{ stdenv
, lib
, fetchFromGitLab
, nix-update-script
, cargo
, meson
, ninja
, rustPlatform
, rustc
, pkg-config
, glib
2023-11-25 11:11:26 +00:00
, gtk4
, gtksourceview5
, libadwaita
, gst_all_1
, desktop-file-utils
, appstream-glib
, openssl
2023-11-25 11:11:26 +00:00
, pipewire
, libshumate
, wrapGAppsHook4
, sqlite
2023-11-25 11:11:26 +00:00
, xdg-desktop-portal
}:
stdenv.mkDerivation rec {
pname = "fractal";
2023-11-25 11:11:26 +00:00
version = "5";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = "fractal";
rev = version;
2023-11-25 11:11:26 +00:00
hash = "sha256-XHb8HjQ5PDL2sen6qUivDllvYEhKnp1vQynD2Lksi30=";
};
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=";
};
};
nativeBuildInputs = [
2023-11-25 11:11:26 +00:00
glib
gtk4
meson
ninja
pkg-config
2023-11-25 11:11:26 +00:00
rustPlatform.bindgenHook
rustPlatform.cargoSetupHook
2023-11-25 11:11:26 +00:00
cargo
rustc
2023-11-25 11:11:26 +00:00
desktop-file-utils
appstream-glib
wrapGAppsHook4
];
buildInputs = [
glib
2023-11-25 11:11:26 +00:00
gtk4
gtksourceview5
libadwaita
openssl
2023-11-25 11:11:26 +00:00
pipewire
libshumate
sqlite
2023-11-25 11:11:26 +00:00
xdg-desktop-portal
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-bad
gst-plugins-good
2023-11-25 11:11:26 +00:00
]);
2022-12-04 00:48:45 +00:00
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "Matrix group messaging app";
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";
};
}