11 stdenv.mkDerivation (finalAttrs: {
15 # Use official tarball, avoid need to bootstrap/generate build system
17 url = "https://github.com/rrthomas/recode/releases/download/v${finalAttrs.version}/recode-${finalAttrs.version}.tar.gz";
18 hash = "sha256-eGqv1USFGisTsKN36sFQD4IM5iYVzMLmMLUB53Q7nzM=";
21 nativeBuildInputs = [ python3Packages.python flex texinfo libiconv ];
23 buildInputs = [ libintl ];
25 enableParallelBuilding = true;
29 nativeCheckInputs = with python3Packages; [
35 homepage = "https://github.com/rrthomas/recode";
36 description = "Converts files between various character sets and usages";
37 mainProgram = "recode";
38 changelog = "https://github.com/rrthomas/recode/raw/v${finalAttrs.version}/NEWS";
39 platforms = lib.platforms.unix;
40 license = with lib.licenses; [ lgpl3Plus gpl3Plus ];
41 maintainers = with lib.maintainers; [ jcumming ];