nixpkgs/pkgs/by-name/bz/bzrtp/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
944 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";
2023-11-12 15:06:05 +00:00
version = "5.2.111";
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;
2023-11-12 15:06:05 +00:00
hash = "sha256-sLvvQhJ9uVt/dx57xs9ftY/ETi46xmyGDH8372zpqj8=";
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
2023-09-01 12:57:05 +00:00
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
2019-01-11 07:35:06 +00:00
env.NIX_CFLAGS_COMPILE = toString [
2022-12-23 16:57:29 +00:00
# Needed with GCC 12
"-Wno-error=stringop-overflow"
2023-09-01 12:57:05 +00:00
"-Wno-error=unused-parameter"
2022-12-23 16:57:29 +00:00
];
meta = with lib; {
description = "Opensource implementation of ZRTP keys exchange protocol. Part of the Linphone project";
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
};
}