2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-09-18 10:52:07 +00:00
|
|
|
pname = "convmv";
|
|
|
|
version = "2.05";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-09-18 10:52:07 +00:00
|
|
|
url = "https://www.j3e.de/linux/convmv/convmv-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "19hwv197p7c23f43vvav5bs19z9b72jzca2npkjsxgprwj5ardjk";
|
|
|
|
};
|
|
|
|
|
|
|
|
preBuild=''
|
|
|
|
makeFlags="PREFIX=$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
patchPhase=''
|
|
|
|
tar -xf testsuite.tar
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Converts filenames from one encoding to another";
|
|
|
|
platforms = platforms.linux ++ platforms.freebsd ++ platforms.cygwin;
|
|
|
|
maintainers = [ ];
|
|
|
|
license = licenses.gpl2Plus;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "convmv";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|