enca: 1.19 -> 1.22
Diff: https://github.com/Project-OSS-Revival/enca/compare/1.19...1.22 Changelog: https://github.com/Project-OSS-Revival/enca/blob/1.22/ChangeLog
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user