2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libogg, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-10-16 20:44:37 +00:00
|
|
|
name = "libvorbis-1.3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.xiph.org/releases/vorbis/${name}.tar.xz";
|
2020-10-16 20:44:37 +00:00
|
|
|
sha256 = "0jwmf87x5sdis64rbv0l87mdpah1rbilkkxszipbzg128f9w8g5k";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "doc" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ libogg ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Vorbis audio compression reference implementation";
|
|
|
|
homepage = "https://xiph.org/vorbis/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|