Merge pull request #161845 from c0bw3b/pkg/recode

recode: 3.7.9 -> 3.7.12
This commit is contained in:
Renaud 2022-03-04 18:43:55 +01:00 committed by GitHub
commit 57af8cedaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,24 +2,27 @@
stdenv.mkDerivation rec {
pname = "recode";
version = "3.7.9";
version = "3.7.12";
# Use official tarball, avoid need to bootstrap/generate build system
src = fetchurl {
url = "https://github.com/rrthomas/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-5DIKaw9c2DfNtFT7WFQBjd+pcJEWCOHwHMLGX2M2csQ=";
hash = "sha256-TbHJB28E26oVlyb1AAhH5eWoOuyOXGT4ygQ4P2zaEtU=";
};
nativeBuildInputs = [ python3 python3.pkgs.cython perl intltool flex texinfo libiconv ];
buildInputs = [ libintl ];
enableParallelBuilding = true;
doCheck = true;
meta = {
homepage = "https://github.com/rrthomas/recode";
description = "Converts files between various character sets and usages";
changelog = "https://github.com/rrthomas/recode/raw/v${version}/NEWS";
platforms = lib.platforms.unix;
license = lib.licenses.gpl2Plus;
license = with lib.licenses; [ lgpl3Plus gpl3Plus ];
maintainers = with lib.maintainers; [ jcumming ];
};
}