2011-08-24 09:48:02 +02:00
|
|
|
{stdenv, fetchurl, perl, gettext }:
|
2010-01-13 22:09:55 +01:00
|
|
|
|
2015-04-06 08:04:10 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2015-05-26 10:35:46 +02:00
|
|
|
name = "dos2unix-7.2.2";
|
2010-01-13 22:09:55 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-04-06 08:04:10 +02:00
|
|
|
url = "http://waterlan.home.xs4all.nl/dos2unix/${name}.tar.gz";
|
2015-05-26 10:35:46 +02:00
|
|
|
sha256 = "04i6kkl6l1vp1b81i0wncixwyab2dzmh7vp1cvma8zr6jrr908ww";
|
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";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.bsd2;
|
2011-08-24 09:48:02 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; all;
|
2010-01-13 22:09:55 +01:00
|
|
|
};
|
|
|
|
}
|