2011-08-24 07:48:02 +00:00
|
|
|
{stdenv, fetchurl, perl, gettext }:
|
2010-01-13 21:09:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2011-08-24 07:48:02 +00:00
|
|
|
name = "dos2unix-5.3.1";
|
2010-01-13 21:09:55 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-24 07:48:02 +00:00
|
|
|
url = http://waterlan.home.xs4all.nl/dos2unix/dos2unix-5.3.1.tar.gz;
|
|
|
|
sha256 = "0bwqw3wi0j4f1x8d39xw5v57ac0bc58j41vjx8v2qm1smg9jyci1";
|
2010-01-13 21:09:55 +00:00
|
|
|
};
|
|
|
|
|
2011-08-24 07:48:02 +00:00
|
|
|
configurePhase = ''
|
|
|
|
sed -i -e s,/usr,$out, Makefile
|
2010-01-13 21:09:55 +00:00
|
|
|
'';
|
|
|
|
|
2011-08-24 07:48:02 +00:00
|
|
|
buildInputs = [ perl gettext ];
|
2010-01-13 21:09:55 +00:00
|
|
|
|
|
|
|
meta = {
|
2011-08-24 07:48:02 +00:00
|
|
|
homepage = http://waterlan.home.xs4all.nl/dos2unix.html;
|
|
|
|
description = "Tools to transform text files from dos to unix formats and vicervesa";
|
|
|
|
license = "BSD";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; all;
|
2010-01-13 21:09:55 +00:00
|
|
|
};
|
|
|
|
}
|