Robert Schütz
2026-05-25 16:13:33 -07:00
parent 952c40b32b
commit dd053dc7d1
+9 -6
View File
@@ -1,18 +1,20 @@
{
lib,
stdenv,
fetchurl,
fetchFromGitHub,
libiconv,
recode,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "enca";
version = "1.19";
version = "1.22";
src = fetchurl {
url = "https://dl.cihar.com/enca/enca-${finalAttrs.version}.tar.xz";
sha256 = "1f78jmrggv3jymql8imm5m9yc8nqjw5l99mpwki2245l8357wj1s";
src = fetchFromGitHub {
owner = "Project-OSS-Revival";
repo = "enca";
tag = finalAttrs.version;
hash = "sha256-TMWAGT3iY/ND8pB4THU4PbBGpb8EfT6z+peT8T6mp4o=";
};
buildInputs = [
@@ -21,8 +23,9 @@ stdenv.mkDerivation (finalAttrs: {
];
meta = {
changelog = "https://github.com/Project-OSS-Revival/enca/blob/${finalAttrs.src.tag}/ChangeLog";
description = "Detects the encoding of text files and reencodes them";
homepage = "https://cihar.com/software/enca/";
longDescription = ''
Enca detects the encoding of text files, on the basis of knowledge
of their language. It can also convert them to other encodings,