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