2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, libogg, pkg-config }:
|
2011-02-09 21:10:28 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-22 13:21:29 +00:00
|
|
|
pname = "liboggz";
|
|
|
|
version = "1.1.1";
|
2011-02-09 21:10:28 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-22 13:21:29 +00:00
|
|
|
url = "https://downloads.xiph.org/releases/liboggz/${pname}-${version}.tar.gz";
|
2011-02-09 21:10:28 +00:00
|
|
|
sha256 = "0nj17lhnsw4qbbk8jy4j6a78w6v2llhqdwq46g44mbm9w2qsvbvb";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ libogg ];
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2011-02-09 21:10:28 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://xiph.org/oggz/";
|
2011-02-09 21:10:28 +00:00
|
|
|
description = "A C library and tools for manipulating with Ogg files and streams";
|
|
|
|
longDescription = ''
|
|
|
|
Oggz comprises liboggz and the tool oggz, which provides commands to
|
|
|
|
inspect, edit and validate Ogg files. The oggz-chop tool can also be used
|
|
|
|
to serve time ranges of Ogg media over HTTP by any web server that
|
|
|
|
supports CGI.
|
|
|
|
|
|
|
|
liboggz is a C library for reading and writing Ogg files and streams. It
|
|
|
|
offers various improvements over the reference libogg, including support
|
|
|
|
for seeking, validation and timestamp interpretation. Ogg is an
|
|
|
|
interleaving data container developed by Monty at Xiph.Org, originally to
|
|
|
|
support the Ogg Vorbis audio format but now used for many free codecs
|
|
|
|
including Dirac, FLAC, Speex and Theora.'';
|
2018-10-18 19:27:58 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.bsd3;
|
2011-02-09 21:10:28 +00:00
|
|
|
};
|
|
|
|
}
|