2011-08-24 09:48:02 +02:00
|
|
|
{stdenv, fetchurl, perl, gettext }:
|
2010-01-13 22:09:55 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-05-27 21:18:33 +02:00
|
|
|
name = "dos2unix-6.0.5";
|
2010-01-13 22:09:55 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-05-27 21:18:33 +02:00
|
|
|
url = http://waterlan.home.xs4all.nl/dos2unix/dos2unix-6.0.5.tar.gz;
|
|
|
|
sha256 = "13w5blhv0i473y9lyrxh4axz4niyrxcpj4v2qiq3w5kamyp20czx";
|
2010-01-13 22:09:55 +01:00
|
|
|
};
|
|
|
|
|
2011-08-24 09:48:02 +02:00
|
|
|
configurePhase = ''
|
|
|
|
sed -i -e s,/usr,$out, Makefile
|
2010-01-13 22:09:55 +01:00
|
|
|
'';
|
|
|
|
|
2011-08-24 09:48:02 +02:00
|
|
|
buildInputs = [ perl gettext ];
|
2010-01-13 22:09:55 +01:00
|
|
|
|
|
|
|
meta = {
|
2011-08-24 09:48:02 +02: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 22:09:55 +01:00
|
|
|
};
|
|
|
|
}
|