mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
29 lines
606 B
Nix
29 lines
606 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 = [ stdenv.hookLib.multiout pkgconfig ];
|
|
|
|
propagatedBuildInputs = [ libogg ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://xiph.org/vorbis/;
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.emery ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|