2010-07-03 12:06:01 +04:00
|
|
|
{ stdenv, fetchurl, perl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-15 12:46:53 +04:00
|
|
|
name = "convmv-1.15";
|
2010-07-03 12:06:01 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.j3e.de/linux/convmv/${name}.tar.gz";
|
2013-12-15 12:46:53 +04:00
|
|
|
sha256 = "0daiiapsrca8zlbmlz2kw2fn4vmkh48cblb70h08idchhk3sw5f3";
|
2010-07-03 12:06:01 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild=''
|
|
|
|
makeFlags="PREFIX=$out"
|
|
|
|
'';
|
|
|
|
|
2015-01-08 12:26:49 +03:00
|
|
|
patchPhase=''
|
2010-07-03 12:06:01 +04:00
|
|
|
tar -xf testsuite.tar
|
2015-01-08 12:26:49 +03:00
|
|
|
patchShebangs .
|
2010-07-03 12:06:01 +04:00
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2014-06-23 01:03:36 +04:00
|
|
|
description = "Converts filenames from one encoding to another";
|
2011-01-05 13:07:42 +03:00
|
|
|
platforms = platforms.linux ++ platforms.freebsd ++ platforms.cygwin;
|
2017-03-27 20:11:17 +03:00
|
|
|
maintainers = [ ];
|
2010-07-03 12:06:01 +04:00
|
|
|
};
|
|
|
|
}
|