1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 libtool,
6 autoconf,
7 automake,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "libmkv";
12 version = "0.6.5.1";
13
14 src = fetchFromGitHub {
15 owner = "saintdev";
16 repo = "libmkv";
17 tag = version;
18 sha256 = "0pr9q7yprndl8d15ir7i7cznvmf1yqpvnsyivv763n6wryssq6dl";
19 };
20
21 nativeBuildInputs = [
22 libtool
23 autoconf
24 automake
25 ];
26
27 preConfigure = "sh bootstrap.sh";
28
29 meta = {
30 description = "Abandoned library. Alternative lightweight Matroska muxer written for HandBrake";
31 longDescription = ''
32 Library was meant to be an alternative to the official libmatroska library.
33 It is written in plain C, and intended to be very portable.
34 '';
35 homepage = "https://github.com/saintdev/libmkv";
36 license = lib.licenses.gpl2;
37 maintainers = [ lib.maintainers.wmertens ];
38 platforms = lib.platforms.unix;
39 };
40}