2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, fetchpatch }:
|
2005-01-19 21:48:45 +00:00
|
|
|
|
2014-09-24 13:07:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-09-27 15:50:43 +00:00
|
|
|
name = "libogg-1.3.4";
|
2012-08-23 19:01:00 +00:00
|
|
|
|
2005-01-19 21:48:45 +00:00
|
|
|
src = fetchurl {
|
2012-02-08 19:54:16 +00:00
|
|
|
url = "http://downloads.xiph.org/releases/ogg/${name}.tar.xz";
|
2019-09-27 15:50:43 +00:00
|
|
|
sha256 = "1zlk33vxvxr0l9lhkbhkdwvylw96d2n0fnd3d8dl031hph9bqqy1";
|
2010-08-01 14:33:43 +00:00
|
|
|
};
|
|
|
|
|
2016-08-29 00:30:01 +00:00
|
|
|
outputs = [ "out" "dev" "doc" ];
|
2015-07-26 22:25:53 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
patches = lib.optionals stdenv.isDarwin [
|
2019-10-25 01:00:00 +00:00
|
|
|
# Fix unsigned typedefs on darwin. Remove with the next release https://github.com/xiph/ogg/pull/64
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/xiph/ogg/commit/c8fca6b4a02d695b1ceea39b330d4406001c03ed.patch";
|
|
|
|
sha256 = "1s72g37y87x0a74zjji9vx2hyk86kr4f2l3m4y2fipvlf9348b3f";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-12-28 14:26:37 +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.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://xiph.org/ogg/";
|
2014-06-12 22:53:21 +00:00
|
|
|
license = licenses.bsd3;
|
2015-12-05 21:41:25 +00:00
|
|
|
maintainers = [ maintainers.ehmry ];
|
2014-06-12 22:53:21 +00:00
|
|
|
platforms = platforms.all;
|
2005-01-19 21:48:45 +00:00
|
|
|
};
|
|
|
|
}
|