1 { lib, stdenv, fetchFromGitHub, cmake, openssl }:
3 stdenv.mkDerivation rec {
4 pname = "libsignal-protocol-c";
7 src = fetchFromGitHub {
9 repo = "libsignal-protocol-c";
11 sha256 = "0z5p03vk15i6h870azfjgyfgxhv31q2vq6rfhnybrnkxq2wqzwhk";
14 nativeBuildInputs = [ cmake ];
16 buildInputs = [ openssl ];
18 cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
20 outputs = [ "out" "dev" ];
23 description = "Signal Protocol C Library";
24 homepage = "https://github.com/signalapp/libsignal-protocol-c";
25 license = licenses.gpl3;
26 platforms = platforms.all;
27 maintainers = with maintainers; [ orivej ];