3
0
Fork 0
forked from mirrors/nixpkgs

Added iso-codes package

svn path=/nixpkgs/branches/stdenv-updates/; revision=15129
This commit is contained in:
Sander van der Burg 2009-04-18 15:47:41 +00:00
commit 8f2e9e8634
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{stdenv, fetchurl, gettext, python}:
stdenv.mkDerivation {
name = "iso-codes-3.5";
src = fetchurl {
url = ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/iso-codes-3.5.tar.bz2;
sha256 = "2aac5f37a9ebb5af9c5d186ba1428f05ad779c7760e279cd8b86897a5d434807";
};
patchPhase = ''
for i in `find . -name \*.py`
do
sed -i -e "s|#!/usr/bin/env python|#!${python}/bin/python|" $i
done
'';
buildInputs = [ gettext ];
}

View file

@ -3242,6 +3242,10 @@ let
intltool = gnome.intltool;
isocodes = import ../development/libraries/iso-codes {
inherit stdenv fetchurl gettext python;
};
jasper = import ../development/libraries/jasper {
inherit fetchurl stdenv unzip xlibs libjpeg;
};