2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl }:
|
2010-07-03 08:06:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-28 15:06:40 +00:00
|
|
|
name = "convmv-2.05";
|
2010-07-03 08:06:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://www.j3e.de/linux/convmv/${name}.tar.gz";
|
2018-03-28 15:06:40 +00:00
|
|
|
sha256 = "19hwv197p7c23f43vvav5bs19z9b72jzca2npkjsxgprwj5ardjk";
|
2010-07-03 08:06:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild=''
|
|
|
|
makeFlags="PREFIX=$out"
|
|
|
|
'';
|
|
|
|
|
2015-01-08 09:26:49 +00:00
|
|
|
patchPhase=''
|
2010-07-03 08:06:01 +00:00
|
|
|
tar -xf testsuite.tar
|
2015-01-08 09:26:49 +00:00
|
|
|
patchShebangs .
|
2010-07-03 08:06:01 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-06-22 21:03:36 +00:00
|
|
|
description = "Converts filenames from one encoding to another";
|
2011-01-05 10:07:42 +00:00
|
|
|
platforms = platforms.linux ++ platforms.freebsd ++ platforms.cygwin;
|
2017-03-27 17:11:17 +00:00
|
|
|
maintainers = [ ];
|
2018-08-05 14:14:20 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2010-07-03 08:06:01 +00:00
|
|
|
};
|
|
|
|
}
|