opusfile: add platforms, cleanup

This commit is contained in:
Nikolay Amiantov 2016-01-04 15:25:14 +03:00
parent 16308a0cb3
commit c0f72cfe33

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, pkgconfig, openssl, libogg, libopus}:
{ stdenv, fetchurl, pkgconfig, openssl, libogg, libopus }:
stdenv.mkDerivation rec {
name = "opusfile-0.6";
@ -7,12 +7,14 @@ stdenv.mkDerivation rec {
sha256 = "19iys2kld75k0210b807i4illrdmj3cmmnrgxlc9y4vf6mxp2a14";
};
buildInputs = [ pkgconfig openssl libogg libopus ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl libogg libopus ];
meta = {
description = "High-level API for decoding and seeking in .opus files";
homepage = http://www.opus-codec.org/;
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
};
}