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

28 lines
738 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, bcunit, mbedtls }:
2016-09-05 23:16:45 +01:00
stdenv.mkDerivation rec {
pname = "bctoolbox";
2018-02-10 05:18:00 +00:00
version = "0.6.0";
nativeBuildInputs = [ cmake bcunit ];
buildInputs = [ mbedtls ];
2016-09-05 23:16:45 +01:00
src = fetchFromGitHub {
owner = "BelledonneCommunications";
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;
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;
};
}