2024-10-11 05:15:48 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
cmake,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-10-11 05:15:48 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-09-26 12:46:18 +00:00
|
|
|
pname = "libogg";
|
|
|
|
version = "1.3.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-10-11 05:15:48 +00:00
|
|
|
url = "http://downloads.xiph.org/releases/ogg/libogg-${finalAttrs.version}.tar.xz";
|
2021-09-26 12:46:18 +00:00
|
|
|
sha256 = "01b7050bghdvbxvw0gzv588fn4a27zh42ljpwzm4vrf8dziipnf4";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-10-11 05:15:48 +00:00
|
|
|
outputs = [
|
|
|
|
"out"
|
|
|
|
"dev"
|
|
|
|
"doc"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-10-11 05:15:48 +00:00
|
|
|
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 = {
|
2020-04-24 23:36:52 +00:00
|
|
|
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/";
|
2024-10-11 05:15:48 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ ehmry ];
|
|
|
|
platforms = lib.platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2024-10-11 05:15:48 +00:00
|
|
|
})
|