2011-08-24 08:48:02 +01:00
|
|
|
{stdenv, fetchurl, perl, gettext }:
|
2010-01-13 21:09:55 +00:00
|
|
|
|
2015-04-06 07:04:10 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "dos2unix";
|
2019-10-08 16:33:20 +01:00
|
|
|
version = "7.4.1";
|
2017-03-01 14:29:46 +00:00
|
|
|
|
2010-01-13 21:09:55 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://waterlan.home.xs4all.nl/dos2unix/${pname}-${version}.tar.gz";
|
2019-10-08 16:33:20 +01:00
|
|
|
sha256 = "08w6yywzirsxq8bh87jycvvw922ybhc2l426j2iqzliyn1h8mm8w";
|
2010-01-13 21:09:55 +00:00
|
|
|
};
|
|
|
|
|
2018-10-12 12:02:37 +01:00
|
|
|
nativeBuildInputs = [ perl gettext ];
|
2019-10-08 16:33:20 +01:00
|
|
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
2010-01-13 21:09:55 +00:00
|
|
|
|
2017-03-01 14:29:46 +00:00
|
|
|
meta = with stdenv.lib; {
|
2019-10-08 16:33:20 +01:00
|
|
|
description = "Convert text files with DOS or Mac line breaks to Unix line breaks and vice versa";
|
|
|
|
homepage = "https://waterlan.home.xs4all.nl/dos2unix.html";
|
|
|
|
changelog = "https://sourceforge.net/p/dos2unix/dos2unix/ci/dos2unix-${version}/tree/dos2unix/NEWS.txt?format=raw";
|
2017-03-01 14:29:46 +00:00
|
|
|
license = licenses.bsd2;
|
2019-10-08 16:33:20 +01:00
|
|
|
maintainers = with maintainers; [ c0bw3b ndowens ];
|
2010-01-13 21:09:55 +00:00
|
|
|
};
|
|
|
|
}
|