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

26 lines
632 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";
homepage = https://www.audiocoding.com/faad2.html;
2015-02-08 22:02:17 +00:00
license = licenses.gpl2;
maintainers = with maintainers; [ codyopel ];
platforms = platforms.all;
};
}