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

21 lines
637 B
Nix
Raw Normal View History

2016-01-04 07:25:14 -05:00
{ stdenv, fetchurl, pkgconfig, openssl, libogg, libopus }:
2013-12-07 14:09:08 -05:00
stdenv.mkDerivation rec {
2014-09-21 14:01:17 -04:00
name = "opusfile-0.6";
2013-12-07 14:09:08 -05:00
src = fetchurl {
url = "http://downloads.xiph.org/releases/opus/${name}.tar.gz";
2014-09-21 14:01:17 -04:00
sha256 = "19iys2kld75k0210b807i4illrdmj3cmmnrgxlc9y4vf6mxp2a14";
2013-12-07 14:09:08 -05:00
};
2016-01-04 07:25:14 -05:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl libogg libopus ];
2013-12-07 14:09:08 -05:00
meta = {
description = "High-level API for decoding and seeking in .opus files";
homepage = http://www.opus-codec.org/;
2014-09-21 14:01:17 -04:00
license = stdenv.lib.licenses.bsd3;
2016-01-04 07:25:14 -05:00
platforms = stdenv.lib.platforms.linux;
2014-09-21 14:01:17 -04:00
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
2013-12-07 14:09:08 -05:00
};
}