2014-11-27 00:16:50 +01:00
|
|
|
{ stdenv, fetchurl, libiconv, recode }:
|
2012-08-08 01:58:17 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-10-27 06:28:23 +01:00
|
|
|
name = "enca-1.16";
|
2012-08-08 01:58:17 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-10-27 06:28:23 +01:00
|
|
|
url = "http://dl.cihar.com/enca/${name}.tar.xz";
|
|
|
|
sha256 = "0hg7ggldam66l9j53nlrvi2lv1k99r2qfk6dh23vg6mi05cph7bw";
|
2012-08-08 01:58:17 +02:00
|
|
|
};
|
|
|
|
|
2014-11-27 00:16:50 +01:00
|
|
|
buildInputs = [ recode libiconv ];
|
2012-08-08 01:58:17 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://freecode.com/projects/enca;
|
|
|
|
description = "Detects the encoding of text files and reencodes them";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Enca detects the encoding of text files, on the basis of knowledge
|
|
|
|
of their language. It can also convert them to other encodings,
|
|
|
|
allowing you to recode files without knowing their current encoding.
|
|
|
|
It supports most of Central and East European languages, and a few
|
|
|
|
Unicode variants, independently on language.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2012-08-08 01:58:17 +02:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|