depot/third_party/nixpkgs/pkgs/development/libraries/faad2/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

28 lines
686 B
Nix

{lib, stdenv, fetchFromGitHub, autoreconfHook
, drmSupport ? false # Digital Radio Mondiale
}:
with lib;
stdenv.mkDerivation rec {
pname = "faad2";
version = "2.10.0";
src = fetchFromGitHub {
owner = "knik0";
repo = "faad2";
rev = builtins.replaceStrings [ "." ] [ "_" ] version;
sha256 = "0q52kdd95ls6ihzyspx176wg9x22425v5qsknrmrjq30q25qmmlg";
};
configureFlags = []
++ optional drmSupport "--with-drm";
nativeBuildInputs = [ autoreconfHook ];
meta = {
description = "An open source MPEG-4 and MPEG-2 AAC decoder";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ codyopel ];
platforms = platforms.all;
};
}