mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
9b7b2ce8eb
This reverts commit 512fbb280f
.
See #5368
31 lines
640 B
Nix
31 lines
640 B
Nix
{ stdenv, fetchurl, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "convmv-1.15";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.j3e.de/linux/convmv/${name}.tar.gz";
|
|
sha256 = "0daiiapsrca8zlbmlz2kw2fn4vmkh48cblb70h08idchhk3sw5f3";
|
|
};
|
|
|
|
preBuild=''
|
|
makeFlags="PREFIX=$out"
|
|
'';
|
|
|
|
patchPhase=''
|
|
tar -xf testsuite.tar
|
|
patchShebangs .
|
|
'';
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Converts filenames from one encoding to another";
|
|
platforms = platforms.linux ++ platforms.freebsd ++ platforms.cygwin;
|
|
maintainers = [ maintainers.urkud ];
|
|
};
|
|
}
|