1 { lib, stdenv, fetchurl, gettext, python3 }:
3 stdenv.mkDerivation rec {
8 url = "https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/v${version}/${pname}-v${version}.tar.gz";
9 sha256 = "sha256-QI95nfQTVGj6fKNetrBcQAS+pEPYHKWLibLkgkAagrs=";
13 for i in `find . -name \*.py`
15 sed -i -e "s|#!/usr/bin/env python|#!${python3}/bin/python|" $i
19 nativeBuildInputs = [ gettext python3 ];
22 homepage = "https://salsa.debian.org/iso-codes-team/iso-codes";
23 description = "Various ISO codes packaged as XML files";
24 license = licenses.lgpl21;
25 platforms = platforms.all;