nixpkgs/pkgs/development/libraries/bzrtp/default.nix

37 lines
836 B
Nix
Raw Normal View History

2020-03-20 15:01:19 +00:00
{ bctoolbox
, cmake
, fetchFromGitLab
, sqlite
, lib, stdenv
2020-03-20 15:01:19 +00:00
}:
2018-02-10 05:20:51 +00:00
stdenv.mkDerivation rec {
2020-03-20 15:01:19 +00:00
pname = "bzrtp";
2021-04-28 03:46:07 +00:00
version = "4.5.10";
2018-02-10 05:20:51 +00:00
2020-03-20 15:01:19 +00:00
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
2019-09-08 23:38:31 +00:00
rev = version;
2021-04-28 03:46:07 +00:00
sha256 = "sha256-8qlCTkiRKMDODKMsa52pskBJ7pjqCDYkUJDb/5gFoKg=";
2018-02-10 05:20:51 +00:00
};
buildInputs = [ bctoolbox sqlite ];
nativeBuildInputs = [ cmake ];
2020-03-20 15:01:19 +00:00
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
2019-01-11 07:35:06 +00:00
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
meta = with lib; {
description = "An opensource implementation of ZRTP keys exchange protocol";
2020-03-20 15:01:19 +00:00
homepage = "https://gitlab.linphone.org/BC/public/bzrtp";
license = licenses.gpl3Plus;
2018-02-10 05:20:51 +00:00
platforms = platforms.all;
2020-03-20 15:01:19 +00:00
maintainers = with maintainers; [ jluttine ];
2018-02-10 05:20:51 +00:00
};
}