libilbc: init at 3.0.4

jopejoe1 f236d96d d728271f

+53
+53
pkgs/by-name/li/libilbc/package.nix
··· 1 + { 2 + stdenv, 3 + fetchFromGitHub, 4 + gitUpdater, 5 + testers, 6 + lib, 7 + cmake, 8 + ninja, 9 + pkg-config, 10 + abseil-cpp_202103, 11 + }: 12 + 13 + stdenv.mkDerivation (finalAttrs: { 14 + pname = "libilbc"; 15 + version = "3.0.4"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "TimothyGu"; 19 + repo = "libilbc"; 20 + rev = "v${finalAttrs.version}"; 21 + hash = "sha256-GpvHDyvmWPxSt0K5PJQrTso61vGGWHkov7U9/LPrDBU="; 22 + }; 23 + 24 + nativeBuildInputs = [ 25 + cmake 26 + ninja 27 + pkg-config 28 + ]; 29 + 30 + buildInputs = [ abseil-cpp_202103 ]; 31 + 32 + outputs = [ 33 + "out" 34 + "bin" 35 + "dev" 36 + "doc" 37 + ]; 38 + 39 + passthru = { 40 + updateScript = gitUpdater { rev-prefix = "v"; }; 41 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 42 + }; 43 + 44 + meta = with lib; { 45 + description = "Packaged version of iLBC codec from the WebRTC project"; 46 + homepage = "https://github.com/TimothyGu/libilbc"; 47 + changelog = "https://github.com/TimothyGu/libilbc/blob/v${finalAttrs.version}/NEWS.md"; 48 + maintainers = with maintainers; [ jopejoe1 ]; 49 + pkgConfigModules = [ "lilbc" ]; 50 + platforms = platforms.all; 51 + license = licenses.bsd3; 52 + }; 53 + })