summary refs log tree commit diff
path: root/pkgs/development/libraries/bctoolbox/default.nix
blob: 1c81dd608cbf1160012d6f92fe9523ed7058b1fb (plain) (blame)
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
27
{ stdenv, fetchFromGitHub, cmake, bcunit, mbedtls }:

stdenv.mkDerivation rec {
  pname = "bctoolbox";
  version = "0.6.0";

  nativeBuildInputs = [ cmake bcunit ];
  buildInputs = [ mbedtls ];

  src = fetchFromGitHub {
    owner = "BelledonneCommunications";
    repo = pname;
    rev = version;
    sha256 = "1cxx243wyzkd4xnvpyqf97n0rjhfckpvw1vhwnbwshq3q6fra909";
  };

  NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];

  meta = {
    inherit version;
    description = "Utilities library for Linphone";
    homepage = "https://github.com/BelledonneCommunications/bctoolbox";
    license = stdenv.lib.licenses.gpl2Plus ;
    maintainers = [stdenv.lib.maintainers.raskin];
    platforms = stdenv.lib.platforms.linux;
  };
}