nixpkgs/pkgs/development/libraries/faad2/default.nix
Daniel Schaefer bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00

25 lines
632 B
Nix

{stdenv, fetchurl
, drmSupport ? false # Digital Radio Mondiale
}:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "faad2-${version}";
version = "2.8.8";
src = fetchurl {
url = "mirror://sourceforge/faac/${name}.tar.gz";
sha256 = "1db37ydb6mxhshbayvirm5vz6j361bjim4nkpwjyhmy4ddfinmhl";
};
configureFlags = []
++ optional drmSupport "--with-drm";
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;
};
}