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-10-02 00:57:24 +00:00
|
|
|
version = "0.15.2";
|
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-10-02 00:57:24 +00:00
|
|
|
hash = "sha256-w8H6EYnVYJ6gDhdeZwyxRquem4ayZ4cgLaJMKqcetuI=";
|
2023-02-05 20:11:45 +00:00
|
|
|
};
|
|
|
|
|
2023-03-25 23:16:46 +00:00
|
|
|
cargoDeps = rustPlatform.importCargoLock {
|
|
|
|
lockFile = ./Cargo.lock;
|
|
|
|
outputHashes = {
|
2024-10-02 00:57:24 +00:00
|
|
|
"blurhash-0.2.3" = "sha256-s1777+2O0D/VyKwlPUA53gho5sOP8pN610KqxEjugz0=";
|
2024-07-25 06:42:19 +00:00
|
|
|
"curve25519-dalek-4.1.3" = "sha256-bPh7eEgcZnq9C3wmSnnYv0C4aAP+7pnwk9Io29GrI4A=";
|
2024-10-02 00:57:24 +00:00
|
|
|
"libsignal-core-0.1.0" = "sha256-AdN8UHu0khgsog1btE++0J4BmdUC6wMpZzL7HPzhALQ=";
|
|
|
|
"libsignal-service-0.1.0" = "sha256-bnbbbnoBaHUdobBywOAUQojoMYkOlgI2O1RG2DoyvUc=";
|
|
|
|
"presage-0.6.2" = "sha256-AB4ttolC6MPp3foT66DG5RArqX+c1wf2w3lIZ0u0LCM=";
|
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;
|
|
|
|
};
|
|
|
|
}
|