mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-16 01:45:11 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
41 lines
1.3 KiB
Nix
41 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
libogg,
|
|
pkg-config,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "liboggz";
|
|
version = "1.1.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://downloads.xiph.org/releases/liboggz/${pname}-${version}.tar.gz";
|
|
sha256 = "0nj17lhnsw4qbbk8jy4j6a78w6v2llhqdwq46g44mbm9w2qsvbvb";
|
|
};
|
|
|
|
propagatedBuildInputs = [ libogg ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://xiph.org/oggz/";
|
|
description = "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.'';
|
|
platforms = platforms.unix;
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|