2014-06-22 11:39:07 +01:00
|
|
|
{ stdenv, fetchurl, libogg, pkgconfig }:
|
2005-01-19 21:48:45 +00:00
|
|
|
|
2014-06-12 23:53:21 +01:00
|
|
|
let
|
|
|
|
name = "libvorbis-1.3.4";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
2012-08-23 20:01:00 +01: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/vorbis/${name}.tar.xz";
|
2014-06-12 23:53:21 +01:00
|
|
|
sha256 = "0wpk87jnhngcl3nc5i39flkycx1sjzilx8jjx4zc4p8r55ylj19g";
|
2005-01-19 21:48:45 +00:00
|
|
|
};
|
2009-01-20 09:50:05 +00:00
|
|
|
|
2014-06-22 11:39:07 +01:00
|
|
|
buildInputs = [ pkgconfig ];
|
|
|
|
|
2009-01-20 09:50:05 +00:00
|
|
|
propagatedBuildInputs = [ libogg ];
|
2010-08-01 15:33:43 +01:00
|
|
|
|
2012-08-23 20:01:00 +01:00
|
|
|
outputs = [ "dev" "out" "doc" ];
|
|
|
|
|
2014-06-12 23:53:21 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2010-08-01 15:33:43 +01:00
|
|
|
homepage = http://xiph.org/vorbis/;
|
2014-06-12 23:53:21 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.emery ];
|
|
|
|
platforms = platforms.all;
|
2010-08-01 15:33:43 +01:00
|
|
|
};
|
2005-01-19 21:48:45 +00:00
|
|
|
}
|