3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/faad2/default.nix

26 lines
631 B
Nix
Raw Normal View History

2015-02-08 22:02:17 +00:00
{stdenv, fetchurl
, drmSupport ? false # Digital Radio Mondiale
}:
2015-02-08 22:02:17 +00:00
with stdenv.lib;
stdenv.mkDerivation rec {
name = "faad2-${version}";
2018-01-10 17:13:40 +00:00
version = "2.8.8";
src = fetchurl {
2018-01-10 17:13:40 +00:00
url = "mirror://sourceforge/faac/${name}.tar.gz";
sha256 = "1db37ydb6mxhshbayvirm5vz6j361bjim4nkpwjyhmy4ddfinmhl";
};
2015-02-08 22:02:17 +00:00
configureFlags = []
++ optional drmSupport "--with-drm";
meta = {
description = "An open source MPEG-4 and MPEG-2 AAC decoder";
2015-02-08 22:02:17 +00:00
homepage = http://www.audiocoding.com/faad2.html;
license = licenses.gpl2;
maintainers = with maintainers; [ codyopel ];
platforms = platforms.all;
};
}