mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
bctoolbox: 0.6.0 -> 4.3.1
This commit is contained in:
parent
4179075b4d
commit
9bd261213b
@ -1,27 +1,39 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, bcunit, mbedtls }:
|
||||
{ bcunit
|
||||
, cmake
|
||||
, fetchFromGitLab
|
||||
, mbedtls
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bctoolbox";
|
||||
version = "0.6.0";
|
||||
version = "4.3.1";
|
||||
|
||||
nativeBuildInputs = [ cmake bcunit ];
|
||||
buildInputs = [ mbedtls ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BelledonneCommunications";
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.linphone.org";
|
||||
owner = "public";
|
||||
group = "BC";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1cxx243wyzkd4xnvpyqf97n0rjhfckpvw1vhwnbwshq3q6fra909";
|
||||
sha256 = "1y91jcrma4kjqpm6w5ahlygjsyvx7l8zjrjvq7g2n39jmw175cvs";
|
||||
};
|
||||
|
||||
# Do not build static libraries
|
||||
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
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;
|
||||
homepage = "https://gitlab.linphone.org/BC/public/bctoolbox";
|
||||
# Still using GPLv2 but as the rest of the Linphone projects have switched
|
||||
# to GPLv3, this might too, so check this when bumping the version number.
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ raskin jluttine ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user