depot/third_party/nixpkgs/pkgs/development/libraries/libogg/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

43 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchurl,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libogg";
version = "1.3.5";
src = fetchurl {
url = "http://downloads.xiph.org/releases/ogg/libogg-${finalAttrs.version}.tar.xz";
sha256 = "01b7050bghdvbxvw0gzv588fn4a27zh42ljpwzm4vrf8dziipnf4";
};
outputs = [
"out"
"dev"
"doc"
];
nativeBuildInputs = [
# Can also be built with the `./configure` script available in the release,
# however using cmake makes sure the resulting tree would include
# `OggConfig.cmake` and other cmake files useful when packages try to look it
# up with cmake.
cmake
];
meta = {
description = "Media container library to manipulate Ogg files";
longDescription = ''
Library to work with Ogg multimedia container format.
Ogg is flexible file storage and streaming format that supports
plethora of codecs. Open format free for anyone to use.
'';
homepage = "https://xiph.org/ogg/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ehmry ];
platforms = lib.platforms.all;
};
})