bcunit: 3.0.2 -> unstable-2019-11-19

This commit is contained in:
Jaakko Luttinen 2020-03-20 10:30:32 +02:00
parent 3125cc6707
commit 4179075b4d
No known key found for this signature in database
GPG key ID: 7B1CE13152E6B964

View file

@ -1,22 +1,30 @@
{stdenv, fetchFromGitHub, cmake}:
{ cmake
, fetchFromGitLab
, stdenv
}:
stdenv.mkDerivation rec {
name = "${baseName}-${version}";
baseName = "bcunit";
version = "3.0.2";
buildInputs = [cmake];
src = fetchFromGitHub {
owner = "BelledonneCommunications";
repo = baseName;
rev = version;
sha256 = "063yl7kxkix76r49qrj0h1qpz2p538d1yw8aih0x4i47g35k00y7";
pname = "bcunit";
# Latest release 3.0.2 is missing some functions needed by bctoolbox. See:
# https://gitlab.linphone.org/BC/public/bcunit/issues/1
version = "unstable-2019-11-19";
buildInputs = [ cmake ];
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
rev = "3c720fbf67dd3c02b0c7011ed4036982b2c93532";
sha256 = "1237hpmkls2igp60gdfkbknxpgwvxn1vmv2m41vyl25xw1d3g35w";
};
meta = {
meta = with stdenv.lib; {
inherit version;
description = ''A fork of CUnit test framework'';
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
description = "A fork of CUnit test framework";
homepage = "https://gitlab.linphone.org/BC/public/bcunit";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ raskin jluttine ];
platforms = platforms.linux;
};
}