nixpkgs/pkgs/by-name/li/libogg/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
1.2 KiB
Nix
Raw Normal View History

2024-08-29 06:39:27 +00:00
{
lib,
stdenv,
fetchurl,
cmake,
2024-08-29 06:39:27 +00:00
}:
2024-08-29 06:39:27 +00:00
stdenv.mkDerivation (finalAttrs: {
2021-09-15 07:29:37 +00:00
pname = "libogg";
version = "1.3.5";
src = fetchurl {
2024-08-29 06:39:27 +00:00
url = "http://downloads.xiph.org/releases/ogg/libogg-${finalAttrs.version}.tar.xz";
2021-09-15 07:29:37 +00:00
sha256 = "01b7050bghdvbxvw0gzv588fn4a27zh42ljpwzm4vrf8dziipnf4";
};
2024-08-29 06:39:27 +00:00
outputs = [
"out"
"dev"
"doc"
];
2015-07-26 22:25:53 +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
];
cmakeFlags = [
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
];
2024-08-29 06:39:27 +00:00
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/";
2024-08-29 06:39:27 +00:00
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ehmry ];
platforms = lib.platforms.all;
};
2024-08-29 06:39:27 +00:00
})