3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libopusenc/default.nix
Alyssa Ross 02dfbde639
treewide: use mirror URLs where available
Candidates identified with

	git grep -F "$(grep -v '#' pkgs/build-support/fetchurl/mirrors.nix |
		grep -v nixos.org | grep :// | cut -d '"' -f 2)"

and then manually reviewed and tested.
2021-11-06 01:56:39 +00:00

27 lines
658 B
Nix

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