1 { lib, stdenv, fetchurl, libiconv, recode }:
3 stdenv.mkDerivation rec {
8 url = "https://dl.cihar.com/enca/${pname}-${version}.tar.xz";
9 sha256 = "1f78jmrggv3jymql8imm5m9yc8nqjw5l99mpwki2245l8357wj1s";
12 buildInputs = [ recode libiconv ];
15 description = "Detects the encoding of text files and reencodes them";
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.
25 license = licenses.gpl2Only;