python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libsignal-protocol-c / default.nix
blob203d3613af85a880422a900a6a2c84164d3878f0
1 { lib, stdenv, fetchFromGitHub, cmake, openssl }:
3 stdenv.mkDerivation rec {
4   pname = "libsignal-protocol-c";
5   version = "2.3.3";
7   src = fetchFromGitHub {
8     owner = "signalapp";
9     repo = "libsignal-protocol-c";
10     rev = "v${version}";
11     sha256 = "0z5p03vk15i6h870azfjgyfgxhv31q2vq6rfhnybrnkxq2wqzwhk";
12   };
14   nativeBuildInputs = [ cmake ];
16   buildInputs = [ openssl ];
18   cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
20   outputs = [ "out" "dev" ];
22   meta = with lib; {
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 ];
28   };