29 lines
582 B
Nix
29 lines
582 B
Nix
{ stdenv, fetchurl, libogg, pkgconfig }:
|
|
|
|
let
|
|
name = "libvorbis-1.3.4";
|
|
in
|
|
stdenv.mkDerivation {
|
|
inherit name;
|
|
|
|
src = fetchurl {
|
|
url = "http://downloads.xiph.org/releases/vorbis/${name}.tar.xz";
|
|
sha256 = "0wpk87jnhngcl3nc5i39flkycx1sjzilx8jjx4zc4p8r55ylj19g";
|
|
};
|
|
|
|
outputs = [ "dev" "out" "doc" ];
|
|
|
|
buildInputs = [ pkgconfig ];
|
|
|
|
propagatedBuildInputs = [ libogg ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://xiph.org/vorbis/;
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.emery ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|