diff options
author | Jaakko Luttinen <jaakko.luttinen@iki.fi> | 2020-03-20 10:30:32 +0200 |
---|---|---|
committer | Jaakko Luttinen <jaakko.luttinen@iki.fi> | 2020-03-28 11:25:28 +0200 |
commit | 4179075b4d6cd4ea2badbef8025caba79df364d6 (patch) | |
tree | a8a9949df6783f29e8a1712d544253b6ac113501 /pkgs/tools/misc/bcunit | |
parent | 3125cc6707299801b9e87a48a202dd78b8ab0d92 (diff) |
bcunit: 3.0.2 -> unstable-2019-11-19
Diffstat (limited to 'pkgs/tools/misc/bcunit')
-rw-r--r-- | pkgs/tools/misc/bcunit/default.nix | 40 |
1 files changed, 24 insertions, 16 deletions
diff --git a/pkgs/tools/misc/bcunit/default.nix b/pkgs/tools/misc/bcunit/default.nix index 4a440e133feb8..203735d79b0b6 100644 --- a/pkgs/tools/misc/bcunit/default.nix +++ b/pkgs/tools/misc/bcunit/default.nix @@ -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; }; } - |