biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / networking / instant-messengers / flare-signal / default.nix
blobf21241e10b605f58a4b16015cc23d40307e98c88
1 { lib
2 , stdenv
3 , fetchFromGitLab
4 , cargo
5 , meson
6 , ninja
7 , pkg-config
8 , gst_all_1
9 , protobuf
10 , libspelling
11 , libsecret
12 , libadwaita
13 , gtksourceview5
14 , rustPlatform
15 , rustc
16 , appstream-glib
17 , blueprint-compiler
18 , desktop-file-utils
19 , wrapGAppsHook4
22 stdenv.mkDerivation rec {
23   pname = "flare";
24   version = "0.13.0";
26   src = fetchFromGitLab {
27     domain = "gitlab.com";
28     owner = "schmiddi-on-mobile";
29     repo = "flare";
30     rev = version;
31     hash = "sha256-WfW2xUlF1vCaYFVP6ds06+niULKZgMMxgAOm66LK2xQ=";
32   };
34   cargoDeps = rustPlatform.importCargoLock {
35     lockFile = ./Cargo.lock;
36     outputHashes = {
37       "curve25519-dalek-4.0.0" = "sha256-KUXvYXeVvJEQ/+dydKzXWCZmA2bFa2IosDzaBL6/Si0=";
38       "libsignal-protocol-0.1.0" = "sha256-FCrJO7porlY5FrwZ2c67UPd4tgN7cH2/3DTwfPjihwM=";
39       "libsignal-service-0.1.0" = "sha256-XkCb83IvlnmvhHD8Vi9D5fNuBOoR9yX0/Vlb+YhrDz8=";
40       "presage-0.6.0-dev" = "sha256-zot92dlGtB7B423BU74oqpPzQKvLm2Dw9P8lCWkbsoE=";
41     };
42   };
44   nativeBuildInputs = [
45     appstream-glib # for appstream-util
46     blueprint-compiler
47     desktop-file-utils # for update-desktop-database
48     meson
49     ninja
50     pkg-config
51     wrapGAppsHook4
52     rustPlatform.cargoSetupHook
53     cargo
54     rustc
55   ];
57   buildInputs = [
58     gtksourceview5
59     libadwaita
60     libsecret
61     libspelling
62     protobuf
64     # To reproduce audio messages
65     gst_all_1.gstreamer
66     gst_all_1.gst-plugins-base
67     gst_all_1.gst-plugins-good
68     gst_all_1.gst-plugins-bad
69   ];
71   meta = {
72     changelog = "https://gitlab.com/schmiddi-on-mobile/flare/-/blob/${src.rev}/CHANGELOG.md";
73     description = "An unofficial Signal GTK client";
74     mainProgram = "flare";
75     homepage = "https://gitlab.com/schmiddi-on-mobile/flare";
76     license = lib.licenses.agpl3Plus;
77     maintainers = with lib.maintainers; [ dotlambda ];
78     platforms = lib.platforms.linux;
79   };