depot/third_party/nixpkgs/pkgs/development/libraries/libopusenc/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

29 lines
694 B
Nix

{ stdenv, fetchurl, pkgconfig, libopus }:
let
version = "0.2.1";
in
stdenv.mkDerivation {
pname = "libopusenc";
inherit version;
src = fetchurl {
url = "https://archive.mozilla.org/pub/opus/libopusenc-${version}.tar.gz";
sha256 = "1ffb0vhlymlsq70pxsjj0ksz77yfm2x0a1x8q50kxmnkm1hxp642";
};
outputs = [ "out" "dev" ];
doCheck = true;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libopus ];
meta = with stdenv.lib; {
description = "Library for encoding .opus audio files and live streams";
license = licenses.bsd3;
homepage = "http://www.opus-codec.org/";
platforms = platforms.unix;
maintainers = with maintainers; [ pmiddend ];
};
}