git.iko.soy/typeable/nixpkgs
on master help sign in
amrwb: 7.1.0.3 -> 11.0.0.0
commitfd8bc05c1dc26d92ba2d422ba336ea873b9df611 authorOrivej Desh <orivej@gmx.fr> dateWed 4 Oct 2017, 10:54 (9 years ago) parentb8288f1
1 file changed+9−17
pkgs/development/libraries/amrwb/default.nix+9−17
pkgs/development/libraries/amrwb/default.nix+9−17
@@ -1,33 +1,25 @@
1−{stdenv, fetchurl, unzip}:
1+{ stdenv, fetchurl, unzip }:
22
3−stdenv.mkDerivation {
4− # The 'src' 7.0.0.3 expects amrwb 700, but there is only 710 available now,
5− # so I guess in 3gpp they updated to 7.1.0, but amrwb did not update the libraries.
6− # I guess amrwb uses the first version numbers to match those of 3gpp,
7− # so I set the name to 7.1.0.3 in this case
8− name = "amrwb-7.1.0.3";
3+stdenv.mkDerivation rec {
4+ name = "amrwb-${version}";
5+ version = "11.0.0.0";
96
107 srcAmr = fetchurl {
11− url = http://www.3gpp.org/ftp/Specs/latest/Rel-7/26_series/26204-710.zip;
12− sha256 = "1wnx72m20y8bdlyndyy8rskr0hi4llk1h1hcr34awxfmi9l4922i";
8+ url = http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-b00.zip;
9+ sha256 = "1v4zhs6f1mf1xkrzhljh05890in0rpr5d5pcak9h4igxhd2c91f8";
1310 };
1411
1512 src = fetchurl {
16− url = http://www.penguin.cz/~utx/ftp/amr/amrwb-7.0.0.3.tar.bz2;
17− sha256 = "0nn94i3gw3d5fgks43wdhshdlhpd4rcrzj46f2vsby0viwkxxp8z";
13+ url = "http://www.penguin.cz/~utx/ftp/amr/amrwb-${version}.tar.bz2";
14+ sha256 = "1p6m9nd08mv525w14py9qzs9zwsa5i3vxf5bgcmcvc408jqmkbsw";
1815 };
1916
2017 buildInputs = [ unzip ];
2118
22− patchPhase = ''
23− sed -i s/26204-700/26204-710/g Makefile.am Makefile.in configure configure.ac \
24− prepare_sources.sh.in
25− '';
26−
2719 configureFlags = [ "--cache-file=config.cache" "--with-downloader=true" ];
2820
2921 postConfigure = ''
30− cp $srcAmr 26204-710.zip
22+ cp $srcAmr 26204-b00.zip
3123 '';
3224
3325 meta = {