2023-02-05 20:11:45 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitLab
|
2023-05-12 14:17:16 +00:00
|
|
|
, cargo
|
2023-02-05 20:11:45 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
2023-07-21 11:53:28 +00:00
|
|
|
, gst_all_1
|
2023-02-05 20:11:45 +00:00
|
|
|
, protobuf
|
2023-08-19 16:52:58 +00:00
|
|
|
, libspelling
|
2023-02-05 20:11:45 +00:00
|
|
|
, libsecret
|
|
|
|
, libadwaita
|
2023-08-19 16:52:58 +00:00
|
|
|
, gtksourceview5
|
2023-02-05 20:11:45 +00:00
|
|
|
, rustPlatform
|
2023-05-12 14:17:16 +00:00
|
|
|
, rustc
|
2023-07-21 11:53:28 +00:00
|
|
|
, appstream-glib
|
|
|
|
, blueprint-compiler
|
2023-02-05 20:11:45 +00:00
|
|
|
, desktop-file-utils
|
|
|
|
, wrapGAppsHook4
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "flare";
|
2024-03-25 16:20:08 +00:00
|
|
|
version = "0.14.3";
|
2023-02-05 20:11:45 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.com";
|
2023-08-07 18:14:02 +00:00
|
|
|
owner = "schmiddi-on-mobile";
|
2024-02-12 19:53:24 +00:00
|
|
|
repo = "flare";
|
2023-02-05 20:11:45 +00:00
|
|
|
rev = version;
|
2024-03-25 16:20:08 +00:00
|
|
|
hash = "sha256-e/XkY5xULYnx5zBB3pxjBSocufK85xzb2t+kVXxhFNg=";
|
2023-02-05 20:11:45 +00:00
|
|
|
};
|
|
|
|
|
2023-03-25 23:16:46 +00:00
|
|
|
cargoDeps = rustPlatform.importCargoLock {
|
|
|
|
lockFile = ./Cargo.lock;
|
|
|
|
outputHashes = {
|
2024-03-25 16:20:08 +00:00
|
|
|
"curve25519-dalek-4.1.1" = "sha256-p9Vx0lAaYILypsI4/RVsHZLOqZKaa4Wvf7DanLA38pc=";
|
|
|
|
"libsignal-core-0.1.0" = "sha256-p4YzrtJaQhuMBTtquvS1m9llszfyTeDfl7+IXzRUFSE=";
|
|
|
|
"libsignal-service-0.1.0" = "sha256-rXa/7AmCt03WvMPqrOxPkQlNrMvJQuodEkBuqYo9sFQ=";
|
|
|
|
"presage-0.6.1" = "sha256-4rH/Yt//0EpF8KQQXkurX5m9tMrFRI2MaJ+IzddVUUU=";
|
2023-03-25 23:16:46 +00:00
|
|
|
};
|
2023-02-05 20:11:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2023-07-21 11:53:28 +00:00
|
|
|
appstream-glib # for appstream-util
|
|
|
|
blueprint-compiler
|
2023-02-05 20:11:45 +00:00
|
|
|
desktop-file-utils # for update-desktop-database
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
wrapGAppsHook4
|
2023-05-12 14:17:16 +00:00
|
|
|
rustPlatform.cargoSetupHook
|
|
|
|
cargo
|
|
|
|
rustc
|
|
|
|
];
|
2023-02-05 20:11:45 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2023-08-19 16:52:58 +00:00
|
|
|
gtksourceview5
|
2023-02-05 20:11:45 +00:00
|
|
|
libadwaita
|
|
|
|
libsecret
|
2023-08-19 16:52:58 +00:00
|
|
|
libspelling
|
2023-02-05 20:11:45 +00:00
|
|
|
protobuf
|
2023-07-21 11:53:28 +00:00
|
|
|
|
|
|
|
# To reproduce audio messages
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
|
|
|
gst_all_1.gst-plugins-bad
|
2023-02-05 20:11:45 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2023-08-07 18:14:02 +00:00
|
|
|
changelog = "https://gitlab.com/schmiddi-on-mobile/flare/-/blob/${src.rev}/CHANGELOG.md";
|
2023-02-05 20:11:45 +00:00
|
|
|
description = "Unofficial Signal GTK client";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "flare";
|
2023-08-07 18:14:02 +00:00
|
|
|
homepage = "https://gitlab.com/schmiddi-on-mobile/flare";
|
2023-02-05 20:11:45 +00:00
|
|
|
license = lib.licenses.agpl3Plus;
|
2023-07-23 02:21:28 +00:00
|
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
2023-02-05 20:11:45 +00:00
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|