1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 18:42:15 +00:00
nixpkgs/pkgs/tools/text/enca/default.nix
Eric Seidel e08b9ab8d3 kill libiconvOr*
Conflicts:
	pkgs/applications/networking/mailreaders/sup/default.nix
	pkgs/development/compilers/ghc/7.8.3-binary.nix
	pkgs/development/interpreters/php/5.3.nix
	pkgs/development/interpreters/ruby/patches.nix
	pkgs/development/libraries/cairo/default.nix
	pkgs/development/libraries/poppler/default.nix
	pkgs/top-level/all-packages.nix
2015-02-07 20:29:28 -08:00

30 lines
888 B
Nix

{ stdenv, fetchurl, libiconv, recode }:
stdenv.mkDerivation rec {
name = "enca-1.16";
src = fetchurl {
url = "http://dl.cihar.com/enca/${name}.tar.xz";
sha256 = "0hg7ggldam66l9j53nlrvi2lv1k99r2qfk6dh23vg6mi05cph7bw";
};
buildInputs = [ recode libiconv ];
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.
'';
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
};
}