2010-07-03 10:06:01 +02:00
|
|
|
{ stdenv, fetchurl, perl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-15 09:46:53 +01:00
|
|
|
name = "convmv-1.15";
|
2010-07-03 10:06:01 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.j3e.de/linux/convmv/${name}.tar.gz";
|
2013-12-15 09:46:53 +01:00
|
|
|
sha256 = "0daiiapsrca8zlbmlz2kw2fn4vmkh48cblb70h08idchhk3sw5f3";
|
2010-07-03 10:06:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild=''
|
|
|
|
makeFlags="PREFIX=$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
patchPhase=''
|
|
|
|
tar -xf testsuite.tar
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
|
|
|
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;
|
2010-07-03 10:06:01 +02:00
|
|
|
maintainers = [ maintainers.urkud ];
|
|
|
|
};
|
|
|
|
}
|