@@ -1,24 +1,26 @@
11{stdenv, fetchurl, perl, gettext }:
22
33stdenv.mkDerivation rec {
4− name = "dos2unix-7.3.2";
5−
4+ name = "dos2unix-${version}";
5+ version = "7.3.4";
6+
67 src = fetchurl {
78 url = "http://waterlan.home.xs4all.nl/dos2unix/${name}.tar.gz";
8− sha256 = "12c68c6wjnwrkyjj99fn6d0i4bf53aldj259lhjwq0g0nc5yxs67";
9+ sha256 = "1i9hbxn0br7xa18z4bjpkdv7mrzmbfxhm44mzpd07yd2qnxsgkcc";
910 };
1011
1112 configurePhase = ''
12− sed -i -e s,/usr,$out, Makefile
13− '';
13+ substituteInPlace Makefile \
14+ --replace /usr $out
15+ '';
1416
1517 buildInputs = [ perl gettext ];
1618
17− meta = {
19+ meta = with stdenv.lib; {
1820 homepage = http://waterlan.home.xs4all.nl/dos2unix.html;
1921 description = "Tools to transform text files from dos to unix formats and vicervesa";
20− license = stdenv.lib.licenses.bsd2;
21− maintainers = with stdenv.lib.maintainers; [viric];
22− platforms = with stdenv.lib.platforms; all;
22+ license = licenses.bsd2;
23+ maintainers = with maintainers; [viric ndowens ];
24+
2325 };
2426}