nixpkgs/pkgs/development/libraries/faad2/default.nix

26 lines
630 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}";
version = "2.7";
src = fetchurl {
2015-02-08 22:02:17 +00:00
url = "mirror://sourceforge/faac/${name}.tar.bz2";
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;
};
}