2010-07-03 10:06:01 +02:00
|
|
|
{ stdenv, fetchurl, perl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-26 02:39:43 +01:00
|
|
|
name = "convmv-2.04";
|
2010-07-03 10:06:01 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.j3e.de/linux/convmv/${name}.tar.gz";
|
2018-02-26 02:39:43 +01:00
|
|
|
sha256 = "075xn1ill26hbhg4nl54sp75b55db3ikl7lvhqb9ijvkpi67j6yy";
|
2010-07-03 10:06:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild=''
|
|
|
|
makeFlags="PREFIX=$out"
|
|
|
|
'';
|
|
|
|
|
2015-01-08 10:26:49 +01:00
|
|
|
patchPhase=''
|
2010-07-03 10:06:01 +02:00
|
|
|
tar -xf testsuite.tar
|
2015-01-08 10:26:49 +01:00
|
|
|
patchShebangs .
|
2010-07-03 10:06:01 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2014-06-22 23:03:36 +02:00
|
|
|
description = "Converts filenames from one encoding to another";
|
2011-01-05 11:07:42 +01:00
|
|
|
platforms = platforms.linux ++ platforms.freebsd ++ platforms.cygwin;
|
2017-03-27 19:11:17 +02:00
|
|
|
maintainers = [ ];
|
2010-07-03 10:06:01 +02:00
|
|
|
};
|
|
|
|
}
|