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