Add convmv

svn path=/nixpkgs/trunk/; revision=22444
This commit is contained in:
Yury G. Kudryashov 2010-07-03 08:06:01 +00:00
parent aabb9d5ec6
commit 41e58b3982
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
name = "convmv-1.14";
src = fetchurl {
url = "http://www.j3e.de/linux/convmv/${name}.tar.gz";
sha256 = "1vvwrbys5kkfpn6kvn0sj3hls5v03d6gr7j7d5phbj8p9bigb5cn";
};
preBuild=''
makeFlags="PREFIX=$out"
'';
patchPhase=''
tar -xf testsuite.tar
patchShebangs .
'';
doCheck = true;
checkTarget = "test";
buildInputs = [ perl ];
meta = with stdenv.lib; {
platforms = platforms.all;
maintainers = [ maintainers.urkud ];
};
}

View file

@ -555,6 +555,10 @@ let
inherit fetchurl stdenv ppl;
};
convmv = import ../tools/misc/convmv {
inherit stdenv fetchurl perl;
};
coreutils_real = makeOverridable (if stdenv ? isDietLibC
then import ../tools/misc/coreutils-5
else import ../tools/misc/coreutils)