summaryrefslogtreecommitdiff
path: root/pkgs/libsignal-c/default.nix
blob: a955a6f039609c04256e4c9e6501a520fa134da9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchFromGitHub, pkgconfig, cmake, openssl }:

stdenv.mkDerivation rec {
  name = "libsignal-c-${version}";
  version = "master";

  src = fetchFromGitHub {
    owner = "signalapp";
    repo = "libsignal-protocol-c";
    rev = "9e10362fce9072b104e6d5a51d6f56d939d1f36e";
    sha256 = "0la13aqbd24lw7iv1dfpf4sqy6m0kmd2icyy5h4v4fn3qpcgi6ka";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ cmake openssl ];

  meta = {
    description = "Signal Protocol C Library";
    longDescription = ''
      TODO
    '';
    homepage = https://www.whispersystems.org;
    maintainers = with stdenv.lib.maintainers; [ orbekk ];
    platforms = stdenv.lib.platforms.unix;
  };
}