convmv: add dependencies to support additional encodings (#386462)

authored by Peder Bergebakken Sundt and committed by GitHub c81d9857 4a5eb881

+19 -4
+19 -4
pkgs/by-name/co/convmv/package.nix
··· 2 lib, 3 stdenv, 4 fetchzip, 5 perl, 6 }: 7 8 stdenv.mkDerivation (finalAttrs: { ··· 10 version = "2.06"; 11 12 outputs = [ 13 - "out" 14 "man" 15 ]; 16 17 src = fetchzip { ··· 21 22 strictDeps = true; 23 24 - nativeBuildInputs = [ perl ]; 25 26 - buildInputs = [ perl ]; 27 28 makeFlags = [ 29 - "PREFIX=${placeholder "out"}" 30 "MANDIR=${placeholder "man"}/share/man" 31 ]; 32 ··· 45 ''; 46 47 dontPatchShebangs = true; 48 49 meta = with lib; { 50 description = "Converts filenames from one encoding to another";
··· 2 lib, 3 stdenv, 4 fetchzip, 5 + makeWrapper, 6 perl, 7 + perlPackages, 8 }: 9 10 stdenv.mkDerivation (finalAttrs: { ··· 12 version = "2.06"; 13 14 outputs = [ 15 + "bin" 16 "man" 17 + "out" 18 ]; 19 20 src = fetchzip { ··· 24 25 strictDeps = true; 26 27 + nativeBuildInputs = [ 28 + makeWrapper 29 + perl 30 + ]; 31 32 + buildInputs = [ 33 + perl 34 + perlPackages.EncodeHanExtra 35 + perlPackages.EncodeIMAPUTF7 36 + perlPackages.EncodeJIS2K 37 + ]; 38 39 makeFlags = [ 40 + "PREFIX=${placeholder "bin"}" 41 "MANDIR=${placeholder "man"}/share/man" 42 ]; 43 ··· 56 ''; 57 58 dontPatchShebangs = true; 59 + 60 + postFixup = '' 61 + wrapProgram "$bin/bin/convmv" --prefix PERL5LIB : "$PERL5LIB" 62 + ''; 63 64 meta = with lib; { 65 description = "Converts filenames from one encoding to another";