1{ stdenv, fetchurl, libogg, pkgconfig }:
2
3stdenv.mkDerivation rec {
4 name = "liboggz-1.1.1";
5
6 src = fetchurl {
7 url = "http://downloads.xiph.org/releases/liboggz/${name}.tar.gz";
8 sha256 = "0nj17lhnsw4qbbk8jy4j6a78w6v2llhqdwq46g44mbm9w2qsvbvb";
9 };
10
11 propagatedBuildInputs = [ libogg ];
12
13 nativeBuildInputs = [ pkgconfig ];
14
15 meta = {
16 homepage = https://xiph.org/oggz/;
17 description = "A C library and tools for manipulating with Ogg files and streams";
18 longDescription = ''
19 Oggz comprises liboggz and the tool oggz, which provides commands to
20 inspect, edit and validate Ogg files. The oggz-chop tool can also be used
21 to serve time ranges of Ogg media over HTTP by any web server that
22 supports CGI.
23
24 liboggz is a C library for reading and writing Ogg files and streams. It
25 offers various improvements over the reference libogg, including support
26 for seeking, validation and timestamp interpretation. Ogg is an
27 interleaving data container developed by Monty at Xiph.Org, originally to
28 support the Ogg Vorbis audio format but now used for many free codecs
29 including Dirac, FLAC, Speex and Theora.'';
30 maintainers = [ ];
31 platforms = stdenv.lib.platforms.unix;
32 };
33}