nixpkgs-suyu/pkgs/tools/misc/convmv/default.nix

30 lines
571 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
2013-12-15 09:46:53 +01:00
name = "convmv-1.15";
src = fetchurl {
url = "http://www.j3e.de/linux/convmv/${name}.tar.gz";
2013-12-15 09:46:53 +01:00
sha256 = "0daiiapsrca8zlbmlz2kw2fn4vmkh48cblb70h08idchhk3sw5f3";
};
preBuild=''
makeFlags="PREFIX=$out"
'';
patchPhase=''
tar -xf testsuite.tar
patchShebangs .
'';
doCheck = true;
checkTarget = "test";
buildInputs = [ perl ];
meta = with stdenv.lib; {
platforms = platforms.linux ++ platforms.freebsd ++ platforms.cygwin;
maintainers = [ maintainers.urkud ];
};
}