nixpkgs/pkgs/development/libraries/faad2/default.nix
Martin Milata 3068eb8e90 faad2: 2.8.8 -> 2.9.2
- change upstream to GitHub
- use autoreconfHook

Fixes: https://nvd.nist.gov/vuln/detail/CVE-2019-6956
Changelog: https://github.com/knik0/faad2/blob/2_9_2/ChangeLog
2020-06-17 13:35:41 +02:00

30 lines
743 B
Nix

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