lol
at v192 29 lines 888 B view raw
1{ stdenv, fetchurl, libiconv, recode }: 2 3stdenv.mkDerivation rec { 4 name = "enca-1.16"; 5 6 src = fetchurl { 7 url = "http://dl.cihar.com/enca/${name}.tar.xz"; 8 sha256 = "0hg7ggldam66l9j53nlrvi2lv1k99r2qfk6dh23vg6mi05cph7bw"; 9 }; 10 11 buildInputs = [ recode libiconv ]; 12 13 meta = { 14 homepage = http://freecode.com/projects/enca; 15 description = "Detects the encoding of text files and reencodes them"; 16 17 longDescription = '' 18 Enca detects the encoding of text files, on the basis of knowledge 19 of their language. It can also convert them to other encodings, 20 allowing you to recode files without knowing their current encoding. 21 It supports most of Central and East European languages, and a few 22 Unicode variants, independently on language. 23 ''; 24 25 license = stdenv.lib.licenses.gpl2; 26 27 platforms = stdenv.lib.platforms.all; 28 }; 29}