2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, libogg, pkg-config }:
|
2005-01-19 21:48:45 +00:00
|
|
|
|
2014-09-24 13:07:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-06-20 14:15:21 +00:00
|
|
|
pname = "libvorbis";
|
|
|
|
version = "1.3.7";
|
2012-08-23 19:01:00 +00:00
|
|
|
|
2005-01-19 21:48:45 +00:00
|
|
|
src = fetchurl {
|
2021-06-20 14:15:21 +00:00
|
|
|
url = "http://downloads.xiph.org/releases/vorbis/${pname}-${version}.tar.xz";
|
2020-09-22 10:17:12 +00:00
|
|
|
sha256 = "0jwmf87x5sdis64rbv0l87mdpah1rbilkkxszipbzg128f9w8g5k";
|
2005-01-19 21:48:45 +00:00
|
|
|
};
|
2009-01-20 09:50:05 +00:00
|
|
|
|
2016-08-29 00:30:01 +00:00
|
|
|
outputs = [ "out" "dev" "doc" ];
|
2014-06-22 10:39:07 +00:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2014-08-26 23:14:09 +00:00
|
|
|
propagatedBuildInputs = [ libogg ];
|
2012-08-23 19:01:00 +00:00
|
|
|
|
2014-06-12 22:53:21 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-11-17 08:43:55 +00:00
|
|
|
description = "Vorbis audio compression reference implementation";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://xiph.org/vorbis/";
|
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;
|
2010-08-01 14:33:43 +00:00
|
|
|
};
|
2005-01-19 21:48:45 +00:00
|
|
|
}
|