summary refs log tree commit diff
path: root/pkgs/development/libraries/libvorbis/default.nix
blob: 5e883771b71af3b8e4f6dd1e823a4eeece0d3ea2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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";
  };

  buildInputs = [ pkgconfig ];

  propagatedBuildInputs = [ libogg ];

  outputs = [ "dev" "out" "doc" ];

  doCheck = true;

  meta = with stdenv.lib; {
    homepage = http://xiph.org/vorbis/;
    license = licenses.bsd3;
    maintainers = [ maintainers.emery ];
    platforms = platforms.all;
  };
}