blob: 84e892cc616e538d86bc27e600f11fa4f9014b6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{
lib,
stdenv,
fetchFromGitLab,
testers,
gitUpdater,
autoconf,
automake,
libtool,
pkg-config,
libpng,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "aribb24";
version = "1.0.4";
src = fetchFromGitLab {
domain = "code.videolan.org";
owner = "jeeb";
repo = "aribb24";
rev = "v${finalAttrs.version}";
hash = "sha256-hq3LnLACZfV+E76ZDEHGlN51fS6AqFnNReE3JlWcv9M=";
};
buildInputs = [
libpng
];
nativeBuildInputs = [
autoconf
automake
libtool
pkg-config
];
preConfigure = "autoreconf --install";
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = with lib; {
description = "A library for ARIB STD-B24, decoding JIS 8 bit characters and parsing MPEG-TS stream";
homepage = "https://code.videolan.org/jeeb/aribb24/";
license = licenses.lgpl3Plus;
pkgConfigModules = [ "aribb24" ];
platforms = platforms.unix;
maintainers = with maintainers; [ jopejoe1 ];
};
})
|