1 {lib, stdenv, fetchurl, unzip}:
7 url = "https://www.3gpp.org/ftp/Specs/latest/Rel-11/26_series/26104-b00.zip";
8 sha256 = "1wf8ih0hk7w20vdlnw7jb7w73v15hbxgbvmq4wq7h2ghn0j8ppr3";
12 url = "http://www.penguin.cz/~utx/ftp/amr/amrnb-11.0.0.0.tar.bz2";
13 sha256 = "1qgiw02n2a6r32pimnd97v2jkvnw449xrqmaxiivjy2jcr5h141q";
16 nativeBuildInputs = [ unzip ];
18 configureFlags = [ "--cache-file=config.cache" "--with-downloader=true" ];
21 cp $srcAmr 26104-b00.zip
25 homepage = "http://www.penguin.cz/~utx/amr";
26 description = "AMR Narrow-Band Codec";
27 # The wrapper code is free, but not the libraries from 3gpp.
28 # It's a source code reference implementation with patents and licenses on
29 # some countries, not redistributable.
30 license = lib.licenses.unfree;