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