2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl, perl }:
|
2010-07-03 10:06:01 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-02 11:38:45 +02:00
|
|
|
pname = "convmv";
|
|
|
|
version = "2.05";
|
2010-07-03 10:06:01 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-02 11:38:45 +02:00
|
|
|
url = "https://www.j3e.de/linux/convmv/convmv-${version}.tar.gz";
|
2018-03-28 17:06:40 +02:00
|
|
|
sha256 = "19hwv197p7c23f43vvav5bs19z9b72jzca2npkjsxgprwj5ardjk";
|
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 ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with 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 = [ ];
|
2018-08-05 16:14:20 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2023-11-27 02:17:53 +01:00
|
|
|
mainProgram = "convmv";
|
2010-07-03 10:06:01 +02:00
|
|
|
};
|
|
|
|
}
|