mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 10:31:36 +00:00
307d09cb1d
Semi-automatic update. These checks were performed: - built on NixOS - found 2.04 with grep in /nix/store/sfw526iv7av4agb4s2kbpy6882vk8h8x-convmv-2.04 - found 2.04 in filename of file in /nix/store/sfw526iv7av4agb4s2kbpy6882vk8h8x-convmv-2.04
31 lines
622 B
Nix
31 lines
622 B
Nix
{ stdenv, fetchurl, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "convmv-2.04";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.j3e.de/linux/convmv/${name}.tar.gz";
|
|
sha256 = "075xn1ill26hbhg4nl54sp75b55db3ikl7lvhqb9ijvkpi67j6yy";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|