nixpkgs/pkgs/applications/audio/opusfile/default.nix

24 lines
763 B
Nix
Raw Normal View History

2016-01-04 04:25:14 -08:00
{ stdenv, fetchurl, pkgconfig, openssl, libogg, libopus }:
2013-12-07 11:09:08 -08:00
stdenv.mkDerivation rec {
name = "opusfile-0.11";
2013-12-07 11:09:08 -08:00
src = fetchurl {
url = "http://downloads.xiph.org/releases/opus/${name}.tar.gz";
sha256 = "1gq3aszzl5glgbajw5p1f5a1kdyf23w5vjdmwwrk246syin9pkkl";
2013-12-07 11:09:08 -08:00
};
2016-01-04 04:25:14 -08:00
nativeBuildInputs = [ pkgconfig ];
2016-09-12 22:00:39 -07:00
buildInputs = [ openssl libogg ];
propagatedBuildInputs = [ libopus ];
patches = [ ./include-multistream.patch ];
2016-10-12 18:10:42 -07:00
configureFlags = [ "--disable-examples" ];
2013-12-07 11:09:08 -08:00
2017-02-25 11:25:51 -08:00
meta = with stdenv.lib; {
2013-12-07 11:09:08 -08:00
description = "High-level API for decoding and seeking in .opus files";
homepage = http://www.opus-codec.org/;
2017-02-25 11:25:51 -08:00
license = licenses.bsd3;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ fuuzetsu ];
2013-12-07 11:09:08 -08:00
};
}