1 { lib, stdenv, fetchurl, cmake }:
3 stdenv.mkDerivation rec {
7 url = "mirror://sourceforge/aften/${pname}-${version}.tar.bz2";
8 sha256 = "02hc5x9vkgng1v9bzvza9985ifrjd7fjr7nlpvazp4mv6dr89k47";
12 # Add fallback for missing SIMD functions on ARM
13 # Source https://github.com/Homebrew/homebrew-core/blob/cad412c7fb4b64925f821fcc9ac5f16a2c40f32d/Formula/aften.rb
17 nativeBuildInputs = [ cmake ];
19 cmakeFlags = [ "-DSHARED=ON" ];
22 description = "An audio encoder which generates compressed audio streams based on ATSC A/52 specification";
23 homepage = "http://aften.sourceforge.net/";
24 license = licenses.lgpl21Only;
25 platforms = platforms.unix;
26 maintainers = with maintainers; [ emilytrau ];