Merge pull request #23877 from ndowens/isocodes

iso-codes: 3.56 -> 3.74

authored by Jörg Thalheim and committed by GitHub 7967c4aa f28fe4cf

+9 -9
+9 -9
pkgs/development/libraries/iso-codes/default.nix
··· 1 - {stdenv, fetchurl, gettext, python, xz}: 1 + {stdenv, fetchurl, gettext, python3, xz}: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "iso-codes-3.56"; 4 + name = "iso-codes-3.74"; 5 + 5 6 src = fetchurl { 6 7 url = "http://pkg-isocodes.alioth.debian.org/downloads/${name}.tar.xz"; 7 - sha256 = "0vnfygd03jg21i7r238n450wy2hp354f3ank0v3k34zchbjydl2m"; 8 + sha256 = "1vkaxkcx8h8lbg3z3jjfjs1x1rz1l01j6ll46ysza2gym37g7x11"; 8 9 }; 9 10 patchPhase = '' 10 11 for i in `find . -name \*.py` 11 12 do 12 - sed -i -e "s|#!/usr/bin/env python|#!${python}/bin/python|" $i 13 + sed -i -e "s|#!/usr/bin/env python|#!${python3}/bin/python|" $i 13 14 done 14 15 ''; 15 - buildInputs = [ gettext ]; 16 - nativeBuildInputs = [ xz ]; 16 + buildInputs = [ gettext python3 ]; 17 17 18 - meta = { 18 + meta = with stdenv.lib; { 19 19 homepage = http://pkg-isocodes.alioth.debian.org/; 20 20 description = "Various ISO codes packaged as XML files"; 21 - maintainers = [ stdenv.lib.maintainers.urkud ]; 22 - platforms = stdenv.lib.platforms.all; 21 + maintainers = [ maintainers.urkud ]; 22 + platforms = platforms.all; 23 23 }; 24 24 }