mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
Add package enca 1.13 to tools/text
This commit is contained in:
parent
da7408e105
commit
179b1bd294
29
pkgs/tools/text/enca/default.nix
Normal file
29
pkgs/tools/text/enca/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchurl, libiconv ? null }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "enca-1.13";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dl.cihar.com/enca/${name}.tar.bz2";
|
||||
sha256 = "6c091455d524b3ddae3533fe9bb375092f60ad6fe252e0777c873bd7869c7432";
|
||||
};
|
||||
|
||||
buildInputs = (stdenv.lib.optional (libiconv != null) 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 = "GPLv2";
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -447,6 +447,8 @@ let
|
||||
|
||||
eggdrop = callPackage ../tools/networking/eggdrop { };
|
||||
|
||||
enca = callPackage ../tools/text/enca { };
|
||||
|
||||
mcrl = callPackage ../tools/misc/mcrl { };
|
||||
|
||||
mcrl2 = callPackage ../tools/misc/mcrl2 { };
|
||||
|
Loading…
Reference in New Issue
Block a user