diff options
author | c0bw3b <c0bw3b@users.noreply.github.com> | 2019-11-24 14:34:17 +0100 |
---|---|---|
committer | c0bw3b <c0bw3b@users.noreply.github.com> | 2019-11-24 14:35:18 +0100 |
commit | 8933dd6b5871a63944cf08ca250a063f57f633c5 (patch) | |
tree | 43988149e708b1532c35d61c1949d5cb9e93ee7c /pkgs/development/libraries/bcg729 | |
parent | da3877710a801f3d9873e8969c75561ef84c7b79 (diff) | |
download | nixpkgs-8933dd6b5871a63944cf08ca250a063f57f633c5.tar nixpkgs-8933dd6b5871a63944cf08ca250a063f57f633c5.tar.gz nixpkgs-8933dd6b5871a63944cf08ca250a063f57f633c5.tar.bz2 nixpkgs-8933dd6b5871a63944cf08ca250a063f57f633c5.tar.lz nixpkgs-8933dd6b5871a63944cf08ca250a063f57f633c5.tar.xz nixpkgs-8933dd6b5871a63944cf08ca250a063f57f633c5.tar.zst nixpkgs-8933dd6b5871a63944cf08ca250a063f57f633c5.zip |
bcg729: init at 1.0.4
Diffstat (limited to 'pkgs/development/libraries/bcg729')
-rw-r--r-- | pkgs/development/libraries/bcg729/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/libraries/bcg729/default.nix b/pkgs/development/libraries/bcg729/default.nix new file mode 100644 index 00000000000..4363948e830 --- /dev/null +++ b/pkgs/development/libraries/bcg729/default.nix @@ -0,0 +1,43 @@ +{ stdenv +, fetchFromGitHub +, fetchpatch +, cmake +}: + +stdenv.mkDerivation rec { + pname = "bcg729"; + version = "1.0.4"; + + src = fetchFromGitHub { + owner = "BelledonneCommunications"; + repo = pname; + rev = version; + sha256 = "05s0c5ps3a763y0v34wg5zghj0cdjnq4ch7g81848xxry7q90fwa"; + }; + + patches = [ + (fetchpatch { + url = "https://github.com/BelledonneCommunications/bcg729/commit/a5907daf1b111e4ad7aab4f558f57e2af1e37e55.patch"; + sha256 = "0445syfwj4w4chh8ak80rq77iqcr27924n1ld5snshk3d21nxd64"; + }) + (fetchpatch { + url = "https://github.com/BelledonneCommunications/bcg729/commit/697bf6653a8c7421f0e821ee8d42471246e6850f.patch"; + sha256 = "1h3gf5sj2sg5cs5iv1lcav3lkqmd5jf4agvjzz83l89wd5f5hp5l"; + }) + (fetchpatch { + url = "https://github.com/BelledonneCommunications/bcg729/commit/d63ce04a93711820d9a6985b1d11d8d91ed8e6b6.patch"; + sha256 = "1piwf63ci2gma6jd6b4adkvxirysvazf0vklb5pc6vx1g93nkgxs"; + }) + ]; + + nativeBuildInputs = [ cmake ]; + + meta = with stdenv.lib; { + description = "Opensource implementation of both encoder and decoder of the ITU G729 Annex A/B speech codec"; + homepage = "https://linphone.org/technical-corner/bcg729"; + changelog = "https://gitlab.linphone.org/BC/public/bcg729/raw/${version}/NEWS"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ c0bw3b ]; + platforms = platforms.all; + }; +} |