2019-11-23 16:30:46 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, bcunit, mbedtls }:
|
|
|
|
|
2016-09-05 23:16:45 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-11-23 16:30:46 +00:00
|
|
|
pname = "bctoolbox";
|
2018-02-10 05:18:00 +00:00
|
|
|
version = "0.6.0";
|
2019-11-23 16:30:46 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake bcunit ];
|
|
|
|
buildInputs = [ mbedtls ];
|
|
|
|
|
2016-09-05 23:16:45 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BelledonneCommunications";
|
2019-11-23 16:30:46 +00:00
|
|
|
repo = pname;
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2018-02-10 05:18:00 +00:00
|
|
|
sha256 = "1cxx243wyzkd4xnvpyqf97n0rjhfckpvw1vhwnbwshq3q6fra909";
|
2016-09-05 23:16:45 +01:00
|
|
|
};
|
|
|
|
|
2019-12-26 16:29:16 +00:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];
|
|
|
|
|
2016-09-05 23:16:45 +01:00
|
|
|
meta = {
|
|
|
|
inherit version;
|
2019-11-23 16:30:46 +00:00
|
|
|
description = "Utilities library for Linphone";
|
|
|
|
homepage = "https://github.com/BelledonneCommunications/bctoolbox";
|
2016-09-05 23:16:45 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus ;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|