1{ lib, stdenv
2, fetchFromGitLab
3, cmake
4}:
5
6stdenv.mkDerivation rec {
7 pname = "bcg729";
8 version = "1.1.1";
9
10 src = fetchFromGitLab {
11 domain = "gitlab.linphone.org";
12 owner = "public";
13 group = "BC";
14 repo = pname;
15 rev = version;
16 sha256 = "1hal6b3w6f8y5r1wa0xzj8sj2jjndypaxyw62q50p63garp2h739";
17 };
18
19 nativeBuildInputs = [ cmake ];
20
21 meta = with lib; {
22 description = "Opensource implementation of both encoder and decoder of the ITU G729 Annex A/B speech codec";
23 homepage = "https://linphone.org/technical-corner/bcg729";
24 changelog = "https://gitlab.linphone.org/BC/public/bcg729/raw/${version}/NEWS";
25 license = licenses.gpl3Plus;
26 maintainers = with maintainers; [ c0bw3b ];
27 platforms = platforms.all;
28 };
29}