appflowy: browser login redirect (#376016)
[NixPkgs.git] / pkgs / applications / networking / instant-messengers / twinkle / default.nix
blob3a2c62e277ab4d3101876056a7748a83e655a178
2   lib,
3   fetchFromGitHub,
4   cmake,
5   libxml2,
6   libsndfile,
7   file,
8   readline,
9   bison,
10   flex,
11   ucommon,
12   ccrtp,
13   qtbase,
14   qttools,
15   qtquickcontrols2,
16   alsa-lib,
17   speex,
18   ilbc,
19   mkDerivation,
20   bcg729,
23 mkDerivation rec {
24   pname = "twinkle";
25   version = "unstable-2024-20-11";
27   src = fetchFromGitHub {
28     owner = "LubosD";
29     repo = "twinkle";
30     rev = "e067dcba28f4e2acd7f71b875fc4168e9706aaaa";
31     hash = "sha256-3YtZwP/ugWOSfUa4uaEAEEsk9i5j93eLt5lHgAu5qqI=";
32   };
34   buildInputs = [
35     libxml2
36     file # libmagic
37     libsndfile
38     readline
39     ucommon
40     ccrtp
41     qtbase
42     qttools
43     qtquickcontrols2
44     alsa-lib
45     speex
46     ilbc
47   ];
49   nativeBuildInputs = [
50     cmake
51     bison
52     flex
53     bcg729
54   ];
56   cmakeFlags = [
57     "-DWITH_G729=On"
58     "-DWITH_SPEEX=On"
59     "-DWITH_ILBC=On"
60     "-DHAVE_LIBATOMIC=atomic"
61     # "-DWITH_DIAMONDCARD=On" seems ancient and broken
62   ];
64   meta = with lib; {
65     changelog = "https://github.com/LubosD/twinkle/blob/${version}/NEWS";
66     description = "SIP-based VoIP client";
67     homepage = "http://twinkle.dolezel.info/";
68     license = licenses.gpl2Plus;
69     maintainers = [ maintainers.mkg20001 ];
70     platforms = platforms.linux;
71   };